From 6ccaaf59c335a8af742bdf5922a49fc11b422e8b Mon Sep 17 00:00:00 2001 From: Al Viro Date: Thu, 4 Aug 2022 12:46:18 -0400 Subject: do_sys_name_to_handle(): constify path Reviewed-by: Christian Brauner (Microsoft) Signed-off-by: Al Viro --- fs/fhandle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit