Lines Matching refs:features
2588 u64 features; in open_ctree() local
2844 features = btrfs_super_flags(disk_super); in open_ctree()
2845 if (features & BTRFS_SUPER_FLAG_CHANGING_FSID_V2) { in open_ctree()
2846 features &= ~BTRFS_SUPER_FLAG_CHANGING_FSID_V2; in open_ctree()
2847 btrfs_set_super_flags(disk_super, features); in open_ctree()
2888 features = btrfs_super_incompat_flags(disk_super) & in open_ctree()
2890 if (features) { in open_ctree()
2893 features); in open_ctree()
2898 features = btrfs_super_incompat_flags(disk_super); in open_ctree()
2899 features |= BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF; in open_ctree()
2901 features |= BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO; in open_ctree()
2903 features |= BTRFS_FEATURE_INCOMPAT_COMPRESS_ZSTD; in open_ctree()
2905 if (features & BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA) in open_ctree()
2913 if (!(features & BTRFS_FEATURE_INCOMPAT_BIG_METADATA)) in open_ctree()
2916 features |= BTRFS_FEATURE_INCOMPAT_BIG_METADATA; in open_ctree()
2934 if ((features & BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS) && in open_ctree()
2946 btrfs_set_super_incompat_flags(disk_super, features); in open_ctree()
2948 features = btrfs_super_compat_ro_flags(disk_super) & in open_ctree()
2950 if (!sb_rdonly(sb) && features) { in open_ctree()
2953 features); in open_ctree()