From: Al Viro Date: Thu, 4 Aug 2022 16:46:18 +0000 (-0400) Subject: do_sys_name_to_handle(): constify path X-Git-Tag: v6.1-rc1~143^2~9 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=6ccaaf59c335a8af742bdf5922a49fc11b422e8b;p=linux%2F.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 6630c69c23a2..f2bc27d1975e 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) {