]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit7f04883146b7cb1db57c3479820cbed511cafd05
treee3e2b04d8f915df299f8afd3cd7c581712e52c21
parent1393d9612ba02d8bb8dae1dab319807e92354fe3
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