summaryrefslogtreecommitdiffstats
path: root/fs/internal.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2021-06-18 20:27:57 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2022-01-30 21:16:48 -0500
commit1e2d84644d1ce754d48c58a6184e1dd9ab573f0c (patch)
treee805c2c54060c842936d919892e60faeef565b8c /fs/internal.h
parentc51acdb78f92719127995c0fe41108df0552edc3 (diff)
downloadlinux-1e2d84644d1ce754d48c58a6184e1dd9ab573f0c.tar.gz
linux-1e2d84644d1ce754d48c58a6184e1dd9ab573f0c.tar.bz2
linux-1e2d84644d1ce754d48c58a6184e1dd9ab573f0c.zip
constify struct path argument of finish_automount()/do_add_mount()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/internal.h')
-rw-r--r--fs/internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/internal.h b/fs/internal.h
index 8590c973c2f4..fe0a44c4ab88 100644
--- a/fs/internal.h
+++ b/fs/internal.h
@@ -74,7 +74,7 @@ int do_linkat(int olddfd, struct filename *old, int newdfd,
* namespace.c
*/
extern struct vfsmount *lookup_mnt(const struct path *);
-extern int finish_automount(struct vfsmount *, struct path *);
+extern int finish_automount(struct vfsmount *, const struct path *);
extern int sb_prepare_remount_readonly(struct super_block *);