]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS: return bool from nfs_detach_delegation{,_locked}
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Jan 2026 07:27:05 +0000 (08:27 +0100)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 20 Jan 2026 19:49:46 +0000 (14:49 -0500)
commit8f7e0b808067afaca0d370c49824c5393101302c
tree173f86791b7ee3de05b404d1a6081f4b9a5948bf
parent3e39019e687a84ffe8b784e8a9c911bdb4d7d26c
NFS: return bool from nfs_detach_delegation{,_locked}

nfs_detach_delegation always returns either the passed in delegation
or NULL, simplify this to a bool return.

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