projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3cf9bc
)
pnfs: Remove redundant assignment from nfs4_proc_layoutget().
author
Fred Isaman
<fred.isaman@gmail.com>
Tue, 20 Sep 2016 17:00:27 +0000
(13:00 -0400)
committer
Trond Myklebust
<trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:03:10 +0000
(15:03 -0400)
nfs_init_sequence() will clear this for us.
Signed-off-by: Fred Isaman <fred.isaman@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --git
a/fs/nfs/nfs4proc.c
b/fs/nfs/nfs4proc.c
index 9945b36ea863127d3ce9a7e16efff6da041558a0..4ff8f18ffc5cf521fd1abc5e0c9c2f1e91186941 100644
(file)
--- a/
fs/nfs/nfs4proc.c
+++ b/
fs/nfs/nfs4proc.c
@@
-8801,7
+8801,6
@@
nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout, gfp_t gfp_flags)
lgp->args.layout.pglen = max_pages * PAGE_SIZE;
lgp->res.layoutp = &lgp->args.layout;
- lgp->res.seq_res.sr_slot = NULL;
nfs4_init_sequence(&lgp->args.seq_args, &lgp->res.seq_res, 0, 0);
task = rpc_run_task(&task_setup_data);