Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dmount.h31 #define MNT_READONLY 0x40 /* does the user want this to be r/o? */ macro
49 | MNT_READONLY | MNT_NOSYMFOLLOW)
/Linux-v6.6/fs/
Dnamespace.c272 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
575 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
591 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
2159 if (flags & MNT_READONLY) in lock_mnt_tree()
2749 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
2773 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
2781 mnt->mnt.mnt_flags &= ~MNT_READONLY; in change_mount_ro_state()
3630 mnt_flags |= MNT_READONLY; in path_mount()
3910 mnt_flags |= MNT_READONLY; in attr_flags_to_mnt_flags()
4327 return (!(kattr->attr_set & MNT_READONLY) || in mnt_allow_writers()
[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-v6.6/fs/overlayfs/
Dsuper.c1116 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_layers()