]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5ca66503523f644798c2da99a83303f643430263
tree1266b0df8fae2742fdc7e7285594e48557babee6
parentf42e942eef8f2808b39b9b45ae3bd3bd2dcdd9a7
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