Lines Matching refs:ro_mount
1255 c->ro_mount = !!sb_rdonly(c->vfs_sb); in mount_ubifs()
1271 if (c->empty && (c->ro_mount || c->ro_media)) { in mount_ubifs()
1282 if (c->ro_media && !c->ro_mount) { in mount_ubifs()
1303 if (!c->ro_mount) { in mount_ubifs()
1312 if (!c->ro_mount) { in mount_ubifs()
1368 if (!c->ro_mount) { in mount_ubifs()
1392 if (c->need_recovery && !c->ro_mount) { in mount_ubifs()
1398 err = ubifs_lpt_init(c, 1, !c->ro_mount); in mount_ubifs()
1402 if (!c->ro_mount && c->space_fixup) { in mount_ubifs()
1408 if (!c->ro_mount && !c->need_recovery) { in mount_ubifs()
1432 if (!c->ro_mount && c->superblock_need_write) { in mount_ubifs()
1450 err = ubifs_mount_orphans(c, c->need_recovery, c->ro_mount); in mount_ubifs()
1454 if (!c->ro_mount) { in mount_ubifs()
1525 if (c->ro_mount) in mount_ubifs()
1550 c->ro_mount ? ", R/O mode" : ""); in mount_ubifs()
1712 c->ro_mount = 0; in ubifs_remount_rw()
1849 c->ro_mount = 1; in ubifs_remount_rw()
1878 ubifs_assert(c, !c->ro_mount); in ubifs_remount_ro()
1908 c->ro_mount = 1; in ubifs_remount_ro()
1940 if (!c->ro_mount) { in ubifs_put_super()
2007 if (c->ro_mount && !(*flags & SB_RDONLY)) { in ubifs_remount_fs()
2019 } else if (!c->ro_mount && (*flags & SB_RDONLY)) { in ubifs_remount_fs()
2308 if (!!(flags & SB_RDONLY) != c1->ro_mount) { in ubifs_mount()