]> Gentwo Git Trees - linux/.git/commit
finish_automount(): simplify the ELOOP check
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 22 Aug 2025 17:07:43 +0000 (13:07 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 2 Sep 2025 23:35:58 +0000 (19:35 -0400)
commit11941610b06820c4af7f1ff12071f159b3bf771d
treec794eba0b07aa81304975aef005f26a23ee2f115
parentd29da1a8f119130e6fc7d5d71029d402dabe2cb0
finish_automount(): simplify the ELOOP check

It's enough to check that dentries match; if path->dentry is equal to
m->mnt_root, superblocks will match as well.

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