summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2026-09-05 07:48:14 +1000
committerChristian Brauner <brauner@kernel.org>2026-09-25 16:27:19 +0200
commitcc47a1ba1983116ee7a720a79197eb5299ae5d31 (patch)
tree3dde1e43f515b82026ee3541894660bda8af49d3 /tools/lib/python
parent33d76519f0ccb55b975a399f2a9a9c8933fa89d7 (diff)
downloadlinux-next-cc47a1ba1983116ee7a720a79197eb5299ae5d31.tar.gz
linux-next-cc47a1ba1983116ee7a720a79197eb5299ae5d31.zip
VFS: Add LOOKUP_SHARED flag.
Some ->lookup handlers will need to drop and retake the parent lock, so they can safely use d_alloc_parallel(). ->lookup can be called with the parent lock either exclusive or shared. A new flag, LOOKUP_SHARED, tells ->lookup how the parent is locked. This is rather ugly, but will be gone soon after we move d_alloc_parallel() out of the directory lock as ->lookup() will *always* called with a shared lock on the parent. Signed-off-by: NeilBrown <neil@brown.name> Link: https://patch.msgid.link/20260904215142.1060510-6-neilb@ownmail.net Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions