diff mbox series

[02/11] do_sys_name_to_handle(): constify path

Message ID 20220820181256.1535714-1-viro@zeniv.linux.org.uk (mailing list archive)
State New, archived
Headers show
Series Subject: [PATCH 01/11] ->getprocattr(): attribute name is const char *, TYVM... | expand

Commit Message

Al Viro Aug. 20, 2022, 6:12 p.m. UTC
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
 fs/fhandle.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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