Home
last modified time | relevance | path

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

/Linux-v5.10/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.10/fs/
Dnamespace.c248 return (mnt->mnt_flags & MNT_READONLY) || sb_rdonly(mnt->mnt_sb); in __mnt_is_readonly()
493 mnt->mnt.mnt_flags |= MNT_READONLY; in mnt_make_readonly()
507 mnt->mnt.mnt_flags &= ~MNT_READONLY; in __mnt_unmake_readonly()
523 if (!(mnt->mnt.mnt_flags & MNT_READONLY)) { in sb_prepare_remount_readonly()
1968 if (flags & MNT_READONLY) in lock_mnt_tree()
2479 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
2503 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
3173 mnt_flags |= MNT_READONLY; in path_mount()
3468 mnt_flags |= MNT_READONLY; in SYSCALL_DEFINE3()
3962 !(new_flags & MNT_READONLY)) in mnt_already_visible()
Dproc_namespace.c156 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.10/fs/overlayfs/
Dsuper.c1636 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_layers()