diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-03 02:55:41 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-16 04:26:44 +0300 |
commit | 1a22542b5ffe2f91859ed7c7e610dc7b588a6713 (patch) | |
tree | 70017fd8a399a51609b98b04d09aecaa004d2290 /rust/helpers/task.c | |
parent | 19ac81735c9bcb0c93895e3674792b923ac16956 (diff) | |
download | linux-1a22542b5ffe2f91859ed7c7e610dc7b588a6713.tar.xz |
path_has_submounts(): use guard(mount_locked_reader)
Needed there since the callback passed to d_walk() (path_check_mount())
is using __path_is_mountpoint(), which uses __lookup_mnt().
Has to be taken in the caller - d_walk() might take rename_lock spinlock
component and that nests inside mount_lock.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions