Skip to content

Commit

Permalink
pnfs: Remove redundant assignment from nfs4_proc_layoutget().
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fred Isaman authored and Trond Myklebust committed May 31, 2018
1 parent a3cf9bc commit 34ec9aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 34ec9aa

Please sign in to comment.