On Thu, Mar 07, 2013 at 02:27:57PM -0500, Josef Bacik wrote:
> + /*
> + * If we don't have skinny metadata, don't bother doing anything
> + * different
> + */
> + if (metadata &&
> + !btrfs_fs_incompat(root->fs_info,
> + BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA)) {
Trimming the BTRFS_FEATURE_INCOMPAT_ prefix would make the lines
shorter, ie. wrapping the check into a macro similar to the mount
options
#define btrfs_fs_incompat(i, f) (__btrfs_fs_incompat((i), \
BTRFS_FEATURE_INCOMPAT_ ## f))
david
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html