]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
namei: remove LOOKUP_NO_XDEV check from handle_mounts
authorAskar Safin <safinaskar@zohomail.com>
Mon, 25 Aug 2025 18:12:31 +0000 (18:12 +0000)
committerChristian Brauner <brauner@kernel.org>
Tue, 2 Sep 2025 08:40:42 +0000 (10:40 +0200)
commit8b966d00b3ece6b1ffa4b6d73d484cf0ecf967e6
treed16a07409e3d888605049882bcb763fe40580f01
parent11c2b7ec2e1865bbc6a65e7d7312a5043e3cc1aa
namei: remove LOOKUP_NO_XDEV check from handle_mounts

This is preparation to RESOLVE_NO_XDEV fix in following commits.
No functional change intended.

The only place that ever looks at
ND_JUMPED in nd->state is complete_walk()
and we are not going to reach
it if handle_mounts() returns an error

Signed-off-by: Askar Safin <safinaskar@zohomail.com>
Link: https://lore.kernel.org/20250825181233.2464822-3-safinaskar@zohomail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/namei.c