]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS: don't consume a delegation reference in nfs_end_delegation_return
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Jan 2026 07:27:09 +0000 (08:27 +0100)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 20 Jan 2026 19:49:46 +0000 (14:49 -0500)
commite96d9ca486b8310abc3736f45b45a91f0628b041
tree0ca5ffcb9506c7a8762c0756a41598e6f99e4f39
parent542b11c0728335a1e06f61dc71b48e9bbbe13169
NFS: don't consume a delegation reference in nfs_end_delegation_return

All callers now hold references to the delegation as part of the lookup,
removing the need for an extra reference for those that are actually
returned which is then dropped in nfs_end_delegation_return.

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