Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dmount.h32 #define MNT_READONLY 0x40 /* does the user want this to be r/o? */ macro
50 | MNT_READONLY | MNT_NOSYMFOLLOW)
/Linux-v5.15/fs/
Dnamespace.c270 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
518 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
534 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2018 if (flags & MNT_READONLY) in lock_mnt_tree()
2516 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
2540 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
2548 mnt->mnt.mnt_flags &= ~MNT_READONLY; in change_mount_ro_state()
3286 mnt_flags |= MNT_READONLY; in path_mount()
3565 mnt_flags |= MNT_READONLY; in attr_flags_to_mnt_flags()
3991 if ((kattr->attr_set & MNT_READONLY) && in mount_setattr_prepare()
[all …]
Dproc_namespace.c159 seq_puts(m, mnt->mnt_flags & MNT_READONLY ? " ro" : " rw"); in show_mountinfo()
Dstatfs.c18 if (mnt_flags & MNT_READONLY) in flags_by_mnt()
/Linux-v5.15/fs/overlayfs/
Dsuper.c1741 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_layers()