Skip to content

Commit

Permalink
nfs: remove rpc_task argument from nfs4_find_slot
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandros Batsakis <batsakis@netapp.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
  • Loading branch information
Alexandros Batsakis authored and Trond Myklebust committed Dec 15, 2009
1 parent 48f1861 commit 40ead58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ static void nfs41_sequence_done(struct nfs_client *clp,
* Note: must be called with under the slot_tbl_lock.
*/
static u8
nfs4_find_slot(struct nfs4_slot_table *tbl, struct rpc_task *task)
nfs4_find_slot(struct nfs4_slot_table *tbl)
{
int slotid;
u8 ret_id = NFS4_MAX_SLOT_TABLE;
Expand Down Expand Up @@ -483,7 +483,7 @@ static int nfs41_setup_sequence(struct nfs4_session *session,
return -EAGAIN;
}

slotid = nfs4_find_slot(tbl, task);
slotid = nfs4_find_slot(tbl);
if (slotid == NFS4_MAX_SLOT_TABLE) {
rpc_sleep_on(&tbl->slot_tbl_waitq, task, NULL);
spin_unlock(&tbl->slot_tbl_lock);
Expand Down

0 comments on commit 40ead58

Please sign in to comment.