diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2025-08-30 09:48:13 +0300 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-09-17 22:58:29 +0300 |
| commit | a79765248649de77771c24f7be08ff4c96f16f7a (patch) | |
| tree | b17e043769c1124253718502aed5586fd8cfe46d /include/linux | |
| parent | 1e414adf03ae5a9928aad9044a07adeb92ddcd2c (diff) | |
| download | linux-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.h | 2 |
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); |
