NFSv4: change nfs4_do_setattr to take an open_context instead of a nfs4_state.
authorNeilBrown <neilb@suse.com>
Thu, 13 Oct 2016 04:26:47 +0000 (15:26 +1100)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 1 Dec 2016 22:57:45 +0000 (17:57 -0500)
commit29b59f94169374c412cedf60c77073df4e68ce51
tree1266b0df8fae2742fdc7e7285594e48557babee6
parent532d4def2f95623a9b8b2cef7723e14521377911
NFSv4: change nfs4_do_setattr to take an open_context instead of a nfs4_state.

The open_context can always lead directly to the state, and is always easily
available, so this is a straightforward change.
Doing this makes more information available to _nfs4_do_setattr() for use
in the next patch.

Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c