NFS: Move call to nfs4_state_protect_write() to nfs4_write_setup()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Fri, 4 May 2018 20:22:48 +0000 (16:22 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 31 May 2018 19:02:16 +0000 (15:02 -0400)
commitfb91fb0ee7b266ed0344515c048f57ac65cdb4b4
tree658910cabf1cc7b865056840336aa36a3582b470
parente04bbf6b1bbe34e1baa2fa34c8774ba152f0426d
NFS: Move call to nfs4_state_protect_write() to nfs4_write_setup()

This doesn't really need to be in the generic NFS client code, and I
think it makes more sense to keep the v4 code 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