diff options
| author | NeilBrown <neil@brown.name> | 2026-09-05 07:48:14 +1000 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-09-25 16:27:19 +0200 |
| commit | cc47a1ba1983116ee7a720a79197eb5299ae5d31 (patch) | |
| tree | 3dde1e43f515b82026ee3541894660bda8af49d3 /tools/lib/python | |
| parent | 33d76519f0ccb55b975a399f2a9a9c8933fa89d7 (diff) | |
| download | linux-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
