NFS: Move call to nfs4_state_protect() to nfs4_commit_setup()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 4 May 2018 20:22:49 +0000 (16:22 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:02:16 +0000 (15:02 -0400)
commite9ae1ee2b2ace7dcc37bc4e486b4410e7702ae57
tree3b070d4cb28eda3a460fcacd4ad12e9edd6e03cd
parentfb91fb0ee7b266ed0344515c048f57ac65cdb4b4
NFS: Move call to nfs4_state_protect() to nfs4_commit_setup()

Rather than doing this in the generic NFS client code.  Let's put this
with the other v4 stuff so it's all in one place.

Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs3proc.c
fs/nfs/nfs4proc.c
fs/nfs/proc.c
fs/nfs/write.c
include/linux/nfs_xdr.h