]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS: open code nfs_delegation_need_return
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Jan 2026 07:27:01 +0000 (08:27 +0100)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 20 Jan 2026 19:49:46 +0000 (14:49 -0500)
commit8cb32b9344f65dbdcb947745f812173d4bb65601
tree5c444ec3d9c0e9df938ae675ddaac8d1b69c1600
parent86ac1b7b616bbc33f886882655d31068f0b14b8d
NFS: open code nfs_delegation_need_return

There is only a single caller, and the function can be condensed into a
single if statement, making it more clear what is being tested there.

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