Unverified Commit 593d9e4c authored by Yuntao Wang's avatar Yuntao Wang Committed by Christian Brauner
Browse files

fs: fix incorrect lflags value in the move_mount syscall



The lflags value used to look up from_path was overwritten by the one used
to look up to_path.

In other words, from_path was looked up with the wrong lflags value. Fix it.

Fixes: f9fde814 ("fs: support getname_maybe_null() in move_mount()")
Signed-off-by: default avatarYuntao Wang <yuntao.wang@linux.dev>
Link: https://lore.kernel.org/20250811052426.129188-1-yuntao.wang@linux.dev


[Christian Brauner <brauner@kernel.org>: massage patch]
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 2319f9d0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment