]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
NFS: use a local RCU critical section in nfs_start_delegation_return
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Jan 2026 07:27:11 +0000 (08:27 +0100)
committerAnna Schumaker <anna.schumaker@oracle.com>
Tue, 20 Jan 2026 19:49:47 +0000 (14:49 -0500)
commit3365322401450971111ced702591ef78db950c28
tree84792b09a8258f8cd3c28eafaf3523b40580515b
parent36e3e9387b367bd0cef3437d8181a6d6cb3c3b3f
NFS: use a local RCU critical section in nfs_start_delegation_return

Nested RCU critical sections are fine and very cheap.  Have a local one
in nfs_start_delegation_return so that the function is self-contained
and to prepare for simplifying the callers.

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