From: Al Viro Date: Thu, 4 Aug 2022 16:46:18 +0000 (-0400) Subject: do_sys_name_to_handle(): constify path X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6ccaaf59c335a8af742bdf5922a49fc11b422e8b;p=linux.git do_sys_name_to_handle(): constify path Reviewed-by: Christian Brauner (Microsoft) Signed-off-by: Al Viro --- diff --git a/fs/fhandle.c b/fs/fhandle.c index 6630c69c23a2a..f2bc27d1975e1 100644 --- a/fs/fhandle.c +++ b/fs/fhandle.c @@ -14,7 +14,7 @@ #include "internal.h" #include "mount.h" -static long do_sys_name_to_handle(struct path *path, +static long do_sys_name_to_handle(const struct path *path, struct file_handle __user *ufh, int __user *mnt_id) {