projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b14b797
)
NFSv4.1 Use the mount point rpc_clnt for layoutreturn
author
Andy Adamson
<andros@netapp.com>
Mon, 22 Jul 2013 16:42:05 +0000
(12:42 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 23 Jul 2013 22:18:54 +0000
(18:18 -0400)
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>
fs/nfs/nfs4proc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 1bf291f03c619dd023cd17d47faefabbf568e218..c2fc5dd0a03c74c07dc2b8318424f49f5522b51a 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-6876,7
+6876,7
@@
int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp)
.rpc_cred = lrp->cred,
};
struct rpc_task_setup task_setup_data = {
- .rpc_client =
lrp->clp->cl_rpc
client,
+ .rpc_client =
NFS_SERVER(lrp->args.inode)->
client,
.rpc_message = &msg,
.callback_ops = &nfs4_layoutreturn_call_ops,
.callback_data = lrp,