]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Even if the stateid is OK, we may need to recover the open modes
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:21 +0000 (13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:35:31 +0000 (14:35 -0400)
commit7374629649e1d341c7357bfa52a182cb9781bb5c
tree2be4f8dad70afde0b2a7d0e802e34c281f9ca791
parent2d6ddf7ec2636afac3f8ef1fcfb3fe7a7892c227
NFSv4.1: Even if the stateid is OK, we may need to recover the open modes

TEST_STATEID only tells you that you have a valid open stateid. It doesn't
tell the client anything about whether or not it holds the required share
locks.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Oleg Drokin <green@linuxhacker.ru>
[Anna: Wrap nfs_open_stateid_recover_openmode in CONFIG_NFS_V4_1 checks]
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/nfs4proc.c