On Fri, Apr 24, 2015 at 09:12:40AM +0800, Qu Wenruo wrote: > --- a/fs/btrfs/ctree.h > +++ b/fs/btrfs/ctree.h > @@ -173,6 +173,7 @@ struct btrfs_ordered_sum; > > /* csum types */ > #define BTRFS_CSUM_TYPE_CRC32 0 > +#define BTRFS_CSUM_LAST_TYPE 0 > > static int btrfs_csum_sizes[] = { 4, 0 };
I'd prefer to fix it by removing the 0 from btrfs_csum_sizes instead of introducing a define. -- 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