On Fri, May 11, 2018 at 01:35:27PM +0800, Qu Wenruo wrote:
> +/*
> + * Check the validation of super block at write time.
> + * Some checks like bytenr check will be skipped as their values will be
> + * overwritten soon.
> + * Extra checks like csum type and incompact flags will be executed here.
                                      ^^^^^^^^^

I almost missed it, it's 'incompat', short from 'incompatibility'

> +     if (btrfs_super_incompat_flags(sb) & ~BTRFS_FEATURE_INCOMPAT_SUPP) {
> +             ret = -EUCLEAN;
> +             btrfs_err(fs_info,
> +             "invalid incompact flags, has 0x%llu valid mask 0x%llu",
                         ^^^^^^^^^

Also fixed, as it's in a user visible string.

> +                       btrfs_super_incompat_flags(sb),
> +                       BTRFS_FEATURE_INCOMPAT_SUPP);
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to