Home
last modified time | relevance | path

Searched refs:MNT_READONLY (Results 1 – 5 of 5) 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.c376 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
704 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
720 if (!(m->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2420 if (flags & MNT_READONLY) in lock_mnt_tree()
3132 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
3156 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
3164 mnt->mnt.mnt_flags &= ~MNT_READONLY; in change_mount_ro_state()
4005 mnt_flags |= MNT_READONLY; in path_mount()
4264 mnt_flags |= MNT_READONLY; in attr_flags_to_mnt_flags()
4699 return (!(kattr->attr_set & MNT_READONLY) || in mnt_allow_writers()
[all …]
H A Dproc_namespace.c155 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw"); in show_mountinfo()
H A Dstatfs.c18 if (mnt_flags & MNT_READONLY) in flags_by_mnt()
/linux/fs/overlayfs/ !
H A Dsuper.c1109 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_layers()