Commit 40ead580 authored by Alexandros Batsakis's avatar Alexandros Batsakis Committed by Trond Myklebust

nfs: remove rpc_task argument from nfs4_find_slot

Signed-off-by: default avatarAlexandros Batsakis <batsakis@netapp.com>
Signed-off-by: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 48f18612
...@@ -430,7 +430,7 @@ static void nfs41_sequence_done(struct nfs_client *clp, ...@@ -430,7 +430,7 @@ static void nfs41_sequence_done(struct nfs_client *clp,
* Note: must be called with under the slot_tbl_lock. * Note: must be called with under the slot_tbl_lock.
*/ */
static u8 static u8
nfs4_find_slot(struct nfs4_slot_table *tbl, struct rpc_task *task) nfs4_find_slot(struct nfs4_slot_table *tbl)
{ {
int slotid; int slotid;
u8 ret_id = NFS4_MAX_SLOT_TABLE; u8 ret_id = NFS4_MAX_SLOT_TABLE;
...@@ -483,7 +483,7 @@ static int nfs41_setup_sequence(struct nfs4_session *session, ...@@ -483,7 +483,7 @@ static int nfs41_setup_sequence(struct nfs4_session *session,
return -EAGAIN; return -EAGAIN;
} }
slotid = nfs4_find_slot(tbl, task); slotid = nfs4_find_slot(tbl);
if (slotid == NFS4_MAX_SLOT_TABLE) { if (slotid == NFS4_MAX_SLOT_TABLE) {
rpc_sleep_on(&tbl->slot_tbl_waitq, task, NULL); rpc_sleep_on(&tbl->slot_tbl_waitq, task, NULL);
spin_unlock(&tbl->slot_tbl_lock); spin_unlock(&tbl->slot_tbl_lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment