]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Always call nfs_inode_find_state_and_recover() when revoking a delegation
authorTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 22 Sep 2016 17:39:14 +0000 (13:39 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 27 Sep 2016 18:35:04 +0000 (14:35 -0400)
commit73797cb2005017af1fb9e21aab3b7fdd1de98ed1
treee3e2b04d8f915df299f8afd3cd7c581712e52c21
parent0398eb6fb7baf8c6bf4b8c22bf5fa5986260889c
NFS: Always call nfs_inode_find_state_and_recover() when revoking a delegation

Don't rely on nfs_inode_detach_delegation() succeeding. That can race...

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