Home
last modified time | relevance | path

Searched refs:MNT_READONLY (Results 1 – 3 of 3) sorted by relevance

/linux/include/linux/
H A Dmount.h32 MNT_READONLY = 0x40, /* does the user want this to be r/o? */ enumerator
51 | MNT_READONLY | MNT_NOSYMFOLLOW,
/linux/fs/
H A Dnamespace.c361 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
689 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
705 if (!(m->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2421 if (flags & MNT_READONLY) in lock_mnt_tree()
3244 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
3268 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
3276 mnt->mnt.mnt_flags &= ~MNT_READONLY; in change_mount_ro_state()
4127 mnt_flags |= MNT_READONLY; in path_mount()
4387 mnt_flags |= MNT_READONLY; in attr_flags_to_mnt_flags()
4811 return (!(kattr->attr_set & MNT_READONLY) || in mnt_allow_writers()
[all …]
/linux/fs/overlayfs/
H A Dsuper.c1108 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_layers()