summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-07-07 01:45:02 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-16 04:26:43 +0300
commit1f6df5847454dee8608f78ee0df7352472cb2447 (patch)
tree6c4ee86a1a0be380c975277c4b7868a874cfcf31 /include/linux
parent6e024a0e280e1ce3c18579b73735cf78bb7f1ead (diff)
downloadlinux-1f6df5847454dee8608f78ee0df7352472cb2447.tar.xz
drop_collected_paths(): constify arguments
... and use that to constify the pointers in callers Reviewed-by: Christian Brauner <brauner@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mount.h b/include/linux/mount.h
index 5f9c053b0897..c09032463b36 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -105,7 +105,7 @@ extern int may_umount(struct vfsmount *);
int do_mount(const char *, const char __user *,
const char *, unsigned long, void *);
extern struct path *collect_paths(const struct path *, struct path *, unsigned);
-extern void drop_collected_paths(struct path *, struct path *);
+extern void drop_collected_paths(const struct path *, struct path *);
extern void kern_unmount_array(struct vfsmount *mnt[], unsigned int num);
extern int cifs_root_data(char **dev, char **opts);