Skip to content

Commit 2e31b4c

Browse files
committed
NFSv4.1: nfs4_callback_free_slot() cannot call nfs4_slot_tbl_drain_complete()
The current code works only for the case where we have exactly one slot, which is no longer true. nfs4_free_slot() will automatically declare the callback channel to be drained when all slots have been returned. Signed-off-by: Trond Myklebust <[email protected]>
1 parent d9f2950 commit 2e31b4c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

fs/nfs/callback_xdr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,6 @@ static void nfs4_callback_free_slot(struct nfs4_session *session,
753753
* A single slot, so highest used slotid is either 0 or -1
754754
*/
755755
nfs4_free_slot(tbl, slot);
756-
nfs4_slot_tbl_drain_complete(tbl);
757756
spin_unlock(&tbl->slot_tbl_lock);
758757
}
759758

0 commit comments

Comments
 (0)