aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorAndy Adamson <andros@netapp.com>2013-07-22 12:42:05 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2013-07-23 18:18:54 -0400
commit1771c5774ba0b8ec35c3337fe9246f2f0f42b11b (patch)
tree0c37e76b44196995efd76a354a1a94e75807b018 /fs/nfs/nfs4proc.c
parentb14b7979d70c19b7fa7c4d3244a4ea5916d77492 (diff)
NFSv4.1 Use the mount point rpc_clnt for layoutreturn
Should not use the clientid maintenance rpc_clnt. Signed-off-by: Andy Adamson <andros@netapp.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
-rw-r--r--fs/nfs/nfs4proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/nfs4proc.c b/fs/nfs/nfs4proc.c
index 1bf291f03c61..c2fc5dd0a03c 100644
--- a/fs/nfs/nfs4proc.c
+++ b/fs/nfs/nfs4proc.c
@@ -6876,7 +6876,7 @@ int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp)
6876 .rpc_cred = lrp->cred, 6876 .rpc_cred = lrp->cred,
6877 }; 6877 };
6878 struct rpc_task_setup task_setup_data = { 6878 struct rpc_task_setup task_setup_data = {
6879 .rpc_client = lrp->clp->cl_rpcclient, 6879 .rpc_client = NFS_SERVER(lrp->args.inode)->client,
6880 .rpc_message = &msg, 6880 .rpc_message = &msg,
6881 .callback_ops = &nfs4_layoutreturn_call_ops, 6881 .callback_ops = &nfs4_layoutreturn_call_ops,
6882 .callback_data = lrp, 6882 .callback_data = lrp,