Lines Matching refs:SB_RDONLY
825 if (new_flags & SB_RDONLY)
1505 if (!(flags & SB_RDONLY) && fs_devices->rw_devices == 0) {
1521 if ((flags ^ s->s_flags) & SB_RDONLY)
1590 if (flags & SB_RDONLY) {
1592 flags & ~SB_RDONLY, device_name, data);
1595 flags | SB_RDONLY, device_name, data);
1652 (flags & SB_RDONLY))) {
1656 if (flags & SB_RDONLY)
1717 ret = btrfs_check_features(fs_info, !(*flags & SB_RDONLY));
1727 (!sb_rdonly(sb) || (*flags & SB_RDONLY))) {
1741 if ((bool)(*flags & SB_RDONLY) == sb_rdonly(sb))
1744 if (*flags & SB_RDONLY) {
1762 * Setting SB_RDONLY will put the cleaner thread to
1772 * flag BTRFS_FS_STATE_RO (and SB_RDONLY in the superblock).
1869 /* We've hit an error - don't reset SB_RDONLY */
1871 old_flags |= SB_RDONLY;
1872 if (!(old_flags & SB_RDONLY))