]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix second deadlock in nfs4_evict_inode()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 1 Jun 2021 15:35:56 +0000 (11:35 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 3 Jun 2021 14:14:42 +0000 (10:14 -0400)
commit2dd6fe64379c2e1fb9d7af423f1e289de7b2da80
tree76cc409decc35501161e928293f57ce0356b5280
parente4abb4a0415efb890536227f89ff565e0034789e
NFSv4: Fix second deadlock in nfs4_evict_inode()

If the inode is being evicted but has to return a layout first, then
that too can cause a deadlock in the corner case where the server
reboots.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c