Lines Matching refs:ro_mount
1263 c->ro_mount = !!sb_rdonly(c->vfs_sb); in mount_ubifs()
1283 if (c->empty && (c->ro_mount || c->ro_media)) { in mount_ubifs()
1294 if (c->ro_media && !c->ro_mount) { in mount_ubifs()
1315 if (!c->ro_mount) { in mount_ubifs()
1324 if (!c->ro_mount) { in mount_ubifs()
1380 if (!c->ro_mount) { in mount_ubifs()
1403 if (c->need_recovery && !c->ro_mount) { in mount_ubifs()
1409 err = ubifs_lpt_init(c, 1, !c->ro_mount); in mount_ubifs()
1413 if (!c->ro_mount && c->space_fixup) { in mount_ubifs()
1419 if (!c->ro_mount && !c->need_recovery) { in mount_ubifs()
1443 if (!c->ro_mount && c->superblock_need_write) { in mount_ubifs()
1461 err = ubifs_mount_orphans(c, c->need_recovery, c->ro_mount); in mount_ubifs()
1465 if (!c->ro_mount) { in mount_ubifs()
1536 if (c->ro_mount) in mount_ubifs()
1561 c->ro_mount ? ", R/O mode" : ""); in mount_ubifs()
1726 c->ro_mount = 0; in ubifs_remount_rw()
1862 c->ro_mount = 1; in ubifs_remount_rw()
1891 ubifs_assert(c, !c->ro_mount); in ubifs_remount_ro()
1921 c->ro_mount = 1; in ubifs_remount_ro()
1953 if (!c->ro_mount) { in ubifs_put_super()
2020 if (c->ro_mount && !(*flags & SB_RDONLY)) { in ubifs_remount_fs()
2032 } else if (!c->ro_mount && (*flags & SB_RDONLY)) { in ubifs_remount_fs()
2324 if (!!(flags & SB_RDONLY) != c1->ro_mount) { in ubifs_mount()