Explorar o código

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 <trond.myklebust@primarydata.com>
Trond Myklebust %!s(int64=8) %!d(string=hai) anos
pai
achega
2e31b4cb89
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      fs/nfs/callback_xdr.c

+ 0 - 1
fs/nfs/callback_xdr.c

@@ -753,7 +753,6 @@ static void nfs4_callback_free_slot(struct nfs4_session *session,
 	 * A single slot, so highest used slotid is either 0 or -1
 	 * A single slot, so highest used slotid is either 0 or -1
 	 */
 	 */
 	nfs4_free_slot(tbl, slot);
 	nfs4_free_slot(tbl, slot);
-	nfs4_slot_tbl_drain_complete(tbl);
 	spin_unlock(&tbl->slot_tbl_lock);
 	spin_unlock(&tbl->slot_tbl_lock);
 }
 }