]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS: simplify error handling in nfs_end_delegation_return
authorChristoph Hellwig <hch@lst.de>
Wed, 28 Jan 2026 04:46:08 +0000 (05:46 +0100)
committerAnna Schumaker <anna.schumaker@oracle.com>
Fri, 30 Jan 2026 21:49:15 +0000 (16:49 -0500)
commit94b88865109c0ea10e5ba562a793673b4fb37113
tree9d51226dcadbe60fe0f84f1a4a99546c6ee99001
parentf7550318b29f754dabfb2f1db535ffe77e6d4446
NFS: simplify error handling in nfs_end_delegation_return

Drop the pointless delegation->lock held over setting multiple
atomic bits in different structures, and use separate labels
for the delay vs abort cases.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
fs/nfs/delegation.c