summaryrefslogtreecommitdiff
path: root/include/linux/i2c/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2026-01-07 08:27:07 +0100
committerAnna Schumaker <anna.schumaker@oracle.com>2026-01-20 14:49:46 -0500
commit23e6208755cae5afd350f6805c7ea70bfd2b336d (patch)
tree77731a1fcd68959eda01d6b04c9aa63096de1915 /include/linux/i2c/git@git.tavy.me:linux.git
parent9f6ddc90d5a2162ecfecbdb5f5ed5bd9f71cc65f (diff)
NFS: simplify the detached delegation check in update_open_stateid
When nfs_detach_delegation_locked detaches a delegation from an inode, it clears both nfsi->delegation and delegation->inode. Use the later in update_open_stateid to check for a detached inode, as that avoids an extra local variable, and removes the need for a RCU derefernence as we already hold the lock in the delegation. This prepares for removing the surrounding RCU critical section. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions