]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
backing_file_user_path(): constify struct path *
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 5 Sep 2025 03:16:35 +0000 (23:16 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 16 Sep 2025 01:17:07 +0000 (21:17 -0400)
commitdae575e669811b201114702d96f6854d5c8324b5
tree7c92e63cb6e2d73c56aff899cbcb4bcd098f9ea5
parentb320789d6883cc00ac78ce83bccbfe7ed58afcf0
backing_file_user_path(): constify struct path *

Callers never use the resulting pointer to modify the struct path it
points to (nor should they).

Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/file_table.c
include/linux/fs.h