]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: nfs_inode_find_state_and_recover() should check all stateids
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:07 +0000 (13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:34:35 +0000 (14:34 -0400)
commita12d323e1702f96ae347f3fd0bfb4b5e32ef05d0
tree69e13b6c7c190ce1640038ff8035d76e78c7c5bc
parent7efbfb9f86efdda966d3fc0700bb4a1291453cc0
NFSv4: nfs_inode_find_state_and_recover() should check all stateids

Modify the helper nfs_inode_find_state_and_recover() so that it
can check all open/lock/delegation state trackers on that inode for
whether or not they need are affected by a revoked stateid error.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Tested-by: Oleg Drokin <green@linuxhacker.ru>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/delegation.c
fs/nfs/delegation.h
fs/nfs/nfs4state.c