aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs42proc.c
diff options
context:
space:
mode:
authorAnna Schumaker <Anna.Schumaker@Netapp.com>2017-01-09 16:51:52 -0500
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2017-01-30 13:14:50 -0500
commit6de7e12f53a154d35d9aceae718b764ada23e430 (patch)
tree9a540943b353c562a908f8450f861384674e7128 /fs/nfs/nfs42proc.c
parent42e1cca7e91e1a7502694cfd18857ed243f54174 (diff)
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>
Diffstat (limited to 'fs/nfs/nfs42proc.c')
-rw-r--r--fs/nfs/nfs42proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/nfs42proc.c b/fs/nfs/nfs42proc.c
index b03010eebafd..98cf58341066 100644
--- a/fs/nfs/nfs42proc.c
+++ b/fs/nfs/nfs42proc.c
@@ -332,8 +332,8 @@ nfs42_layoutstat_prepare(struct rpc_task *task, void *calldata)
332 } 332 }
333 nfs4_stateid_copy(&data->args.stateid, &lo->plh_stateid); 333 nfs4_stateid_copy(&data->args.stateid, &lo->plh_stateid);
334 spin_unlock(&inode->i_lock); 334 spin_unlock(&inode->i_lock);
335 nfs41_setup_sequence(nfs4_get_session(server->nfs_client), 335 nfs4_setup_sequence(server->nfs_client, &data->args.seq_args,
336 &data->args.seq_args, &data->res.seq_res, task); 336 &data->res.seq_res, task);
337} 337}
338 338
339static void 339static void