Lines Matching refs:sb_flags
271 return sb_open_mode(fc->sb_flags) & ~BLK_OPEN_RESTRICT_WRITES; in btrfs_open_mode()
428 fc->sb_flags &= ~SB_POSIXACL; in btrfs_parse_param()
431 fc->sb_flags |= SB_POSIXACL; in btrfs_parse_param()
1510 if (!btrfs_check_options(fs_info, &ctx->mount_opt, fc->sb_flags)) in btrfs_reconfigure()
1513 ret = btrfs_check_features(fs_info, !(fc->sb_flags & SB_RDONLY)); in btrfs_reconfigure()
1518 btrfs_remount_begin(fs_info, old_ctx.mount_opt, fc->sb_flags); in btrfs_reconfigure()
1524 (!sb_rdonly(sb) || (fc->sb_flags & SB_RDONLY))) { in btrfs_reconfigure()
1539 if (!sb_rdonly(sb) && (fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1541 else if (sb_rdonly(sb) && !(fc->sb_flags & SB_RDONLY)) in btrfs_reconfigure()
1551 if ((fc->sb_flags & SB_POSIXACL) != (sb->s_flags & SB_POSIXACL)) in btrfs_reconfigure()
1864 if (!(fc->sb_flags & SB_RDONLY) && fs_devices->rw_devices == 0) { in btrfs_get_tree_super()
1890 if ((fc->sb_flags ^ sb->s_flags) & SB_RDONLY) in btrfs_get_tree_super()
1991 const bool ro2rw = !(fc->sb_flags & SB_RDONLY); in btrfs_reconfigure_for_mount()
1999 fc->sb_flags |= SB_RDONLY; in btrfs_reconfigure_for_mount()
2001 fc->sb_flags &= ~SB_RDONLY; in btrfs_reconfigure_for_mount()
2011 fc->sb_flags &= ~SB_RDONLY; in btrfs_reconfigure_for_mount()
2181 fc->sb_flags |= SB_POSIXACL; in btrfs_init_fs_context()
2183 fc->sb_flags |= SB_I_VERSION; in btrfs_init_fs_context()