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>
This commit is contained in:
Al Viro 2022-08-04 12:46:18 -04:00
parent c8e477c649
commit 6ccaaf59c3

View File

@ -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)
{