NFS: Fix an rcu deadlock in nfs_delegation_find_inode()
authorAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 14 Jun 2018 13:39:17 +0000 (09:39 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 14 Jun 2018 18:05:38 +0000 (14:05 -0400)
commitd5681f59ee3d4a2e60b9234e94c163cbbf559d0a
treeffc11a2d244217df5cacd449b5ee95b1356a54eb
parent93b7f7ad2018d2037559b1d0892417864c78b371
NFS: Fix an rcu deadlock in nfs_delegation_find_inode()

I was able to reproduce this pretty regularily using xfstests
generic/013 on NFS v4.0.

Reported-by: Ross Zwisler <Ross.Zwisler@linux.intel.com>
Fixes: 6c342655022d (NFSv4: Return NFS4ERR_DELAY when a delegation recall fails due to igrab())
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c