Lines Matching refs:ro_mount
1264 c->ro_mount = !!sb_rdonly(c->vfs_sb); in mount_ubifs()
1284 if (c->empty && (c->ro_mount || c->ro_media)) { in mount_ubifs()
1295 if (c->ro_media && !c->ro_mount) { in mount_ubifs()
1316 if (!c->ro_mount) { in mount_ubifs()
1325 if (!c->ro_mount) { in mount_ubifs()
1381 if (!c->ro_mount) { in mount_ubifs()
1404 if (c->need_recovery && !c->ro_mount) { in mount_ubifs()
1410 err = ubifs_lpt_init(c, 1, !c->ro_mount); in mount_ubifs()
1414 if (!c->ro_mount && c->space_fixup) { in mount_ubifs()
1420 if (!c->ro_mount && !c->need_recovery) { in mount_ubifs()
1444 if (!c->ro_mount && c->superblock_need_write) { in mount_ubifs()
1462 err = ubifs_mount_orphans(c, c->need_recovery, c->ro_mount); in mount_ubifs()
1466 if (!c->ro_mount) { in mount_ubifs()
1537 if (c->ro_mount) in mount_ubifs()
1562 c->ro_mount ? ", R/O mode" : ""); in mount_ubifs()
1727 c->ro_mount = 0; in ubifs_remount_rw()
1863 c->ro_mount = 1; in ubifs_remount_rw()
1892 ubifs_assert(c, !c->ro_mount); in ubifs_remount_ro()
1922 c->ro_mount = 1; in ubifs_remount_ro()
1954 if (!c->ro_mount) { in ubifs_put_super()
2021 if (c->ro_mount && !(*flags & SB_RDONLY)) { in ubifs_remount_fs()
2033 } else if (!c->ro_mount && (*flags & SB_RDONLY)) { in ubifs_remount_fs()
2322 if (!!(flags & SB_RDONLY) != c1->ro_mount) { in ubifs_mount()