mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
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>
This commit is contained in:
parent
48f1861242
commit
40ead580ae
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue