mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
NFS: Use nfs4_setup_sequence() everywhere
This does the right thing depending on if we have a session, rather than needing to handle this manually in multiple places. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
This commit is contained in:
@@ -332,8 +332,8 @@ nfs42_layoutstat_prepare(struct rpc_task *task, void *calldata)
|
||||
}
|
||||
nfs4_stateid_copy(&data->args.stateid, &lo->plh_stateid);
|
||||
spin_unlock(&inode->i_lock);
|
||||
nfs41_setup_sequence(nfs4_get_session(server->nfs_client),
|
||||
&data->args.seq_args, &data->res.seq_res, task);
|
||||
nfs4_setup_sequence(server->nfs_client, &data->args.seq_args,
|
||||
&data->res.seq_res, task);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user