mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
fhandle: hoist copy_from_user() above get_path_from_fd()
In follow-up patches we need access to @file_handle->handle_type before we start caring about get_path_from_fd(). Link: https://lore.kernel.org/20250624-work-pidfs-fhandle-v2-2-d02a04858fe3@kernel.org Reviewed-by: Jan Kara <jack@suse.cz> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
parent
cc678bf7aa
commit
774adcb55f
1 changed files with 14 additions and 21 deletions
35
fs/fhandle.c
35
fs/fhandle.c
Loading…
Add table
Add a link
Reference in a new issue