Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dmount.h32 #define MNT_READONLY 0x40 /* does the user want this to be r/o? */ macro
49 | MNT_READONLY)
/Linux-v5.4/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()
1910 if (flags & MNT_READONLY) in lock_mnt_tree()
2421 !(mnt_flags & MNT_READONLY)) in can_change_locked_flags()
2445 bool readonly_request = (mnt_flags & MNT_READONLY); in change_mount_ro_state()
3111 mnt_flags |= MNT_READONLY; in do_mount()
3399 mnt_flags |= MNT_READONLY; in SYSCALL_DEFINE3()
3876 !(new_flags & MNT_READONLY)) in mnt_already_visible()
Dproc_namespace.c155 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.4/fs/overlayfs/
Dsuper.c1359 mnt->mnt_flags |= MNT_READONLY | MNT_NOATIME; in ovl_get_lower_layers()