]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.x: Drop the slot if nfs4_delegreturn_prepare waits for layoutreturn
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 13 Nov 2019 08:39:36 +0000 (09:39 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 13 Nov 2019 15:37:17 +0000 (16:37 +0100)
commit8c9939bcc9c371937e1f163654c00a0fda54412d
tree544d90ca1ed195416bbb5ae024a5a192e02d3ef2
parent7e480cb1f9e4d22241d6aacaf80f8887cbf4626e
NFSv4.x: Drop the slot if nfs4_delegreturn_prepare waits for layoutreturn

If nfs4_delegreturn_prepare needs to wait for a layoutreturn to complete
then make sure we drop the sequence slot if we hold it.

Fixes: 97d8cb898449 ("pNFS: Enable layoutreturn operation for return-on-close")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c