summaryrefslogtreecommitdiff
path: root/fs/fhandle.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2022-08-04 12:46:18 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2022-09-01 17:36:39 -0400
commit6ccaaf59c335a8af742bdf5922a49fc11b422e8b (patch)
tree0b55da5839828d222b69f08dc368059be53ca8f8 /fs/fhandle.c
parentc8e477c649b40c1a073b7a843d89e51dc0037db7 (diff)
do_sys_name_to_handle(): constify path
Reviewed-by: Christian Brauner (Microsoft) <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fhandle.c')
-rw-r--r--fs/fhandle.c2
1 files changed, 1 insertions, 1 deletions
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)
{