summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2025-08-30 09:48:13 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2025-09-17 22:58:29 +0300
commita79765248649de77771c24f7be08ff4c96f16f7a (patch)
treeb17e043769c1124253718502aed5586fd8cfe46d /include/linux
parent1e414adf03ae5a9928aad9044a07adeb92ddcd2c (diff)
downloadlinux-a79765248649de77771c24f7be08ff4c96f16f7a.tar.xz
constify {__,}mnt_is_readonly()
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 85e97b9340ff..acfe7ef86a1b 100644
--- a/include/linux/mount.h
+++ b/include/linux/mount.h
@@ -76,7 +76,7 @@ extern void mntput(struct vfsmount *mnt);
extern struct vfsmount *mntget(struct vfsmount *mnt);
extern void mnt_make_shortterm(struct vfsmount *mnt);
extern struct vfsmount *mnt_clone_internal(const struct path *path);
-extern bool __mnt_is_readonly(struct vfsmount *mnt);
+extern bool __mnt_is_readonly(const struct vfsmount *mnt);
extern bool mnt_may_suid(struct vfsmount *mnt);
extern struct vfsmount *clone_private_mount(const struct path *path);