]> git.ipfire.org Git - thirdparty/linux.git/commit
current_chrooted(): don't bother with follow_down_one()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 2 Jul 2025 05:39:45 +0000 (01:39 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 2 Sep 2025 23:35:57 +0000 (19:35 -0400)
commit6b6516c56b04d556ce57deab1b8c2833e4af26c6
treee4f28409d1ceaa38c72a3453717eb447421e8b7e
parent2aec880c1cdf1cf2dab931b4dd8744c415311bc9
current_chrooted(): don't bother with follow_down_one()

All we need here is to follow ->overmount on root mount of namespace...

Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/namespace.c