aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorAlexandros Batsakis <batsakis@netapp.com>2009-12-15 00:27:54 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2009-12-15 13:51:22 -0500
commit40ead580ae70bba1f66f426aeb938051e4e83900 (patch)
treea490a945e3bb9bfc891a525acdae0f4748578727 /fs/nfs/nfs4proc.c
parent48f186124220794fce85ed1439fc32f16f69d3e2 (diff)
nfs: remove rpc_task argument from nfs4_find_slot
Signed-off-by: Alexandros Batsakis <batsakis@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index d44f1071930f..acd698baf8eb 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -430,7 +430,7 @@ out:
430 * Note: must be called with under the slot_tbl_lock. 430 * Note: must be called with under the slot_tbl_lock.
431 */ 431 */
432static u8 432static u8
433nfs4_find_slot(struct nfs4_slot_table *tbl, struct rpc_task *task) 433nfs4_find_slot(struct nfs4_slot_table *tbl)
434{ 434{
435 int slotid; 435 int slotid;
436 u8 ret_id = NFS4_MAX_SLOT_TABLE; 436 u8 ret_id = NFS4_MAX_SLOT_TABLE;
@@ -483,7 +483,7 @@ static int nfs41_setup_sequence(struct nfs4_session *session,
483 return -EAGAIN; 483 return -EAGAIN;
484 } 484 }
485 485
486 slotid = nfs4_find_slot(tbl, task); 486 slotid = nfs4_find_slot(tbl);
487 if (slotid == NFS4_MAX_SLOT_TABLE) { 487 if (slotid == NFS4_MAX_SLOT_TABLE) {
488 rpc_sleep_on(&tbl->slot_tbl_waitq, task, NULL); 488 rpc_sleep_on(&tbl->slot_tbl_waitq, task, NULL);
489 spin_unlock(&tbl->slot_tbl_lock); 489 spin_unlock(&tbl->slot_tbl_lock);