summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-08-20 10:23:12 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-16 04:26:05 +0300
commit25423edc787842d17520b3f9df4d0a58a6a663b1 (patch)
treeedcb63f6345d6a5373d02bc889be1dc3c350bec1 /rust/helpers/helpers.c
parented8ba4aad78887d88231c1c66c0ddf9fe12aaad1 (diff)
downloadlinux-25423edc787842d17520b3f9df4d0a58a6a663b1.tar.xz
new helper: topmost_overmount()
Returns the final (topmost) mount in the chain of overmounts starting at given mount. Same locking rules as for any mount tree traversal - either the spinlock side of mount_lock, or rcu + sample the seqcount side of mount_lock before the call and recheck afterwards. Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions