btrfs: compression: Add linux/sizes.h for compression.h
authorQu Wenruo <wqu@suse.com>
Thu, 17 May 2018 05:52:22 +0000 (13:52 +0800)
committerDavid Sterba <dsterba@suse.com>
Tue, 29 May 2018 16:13:00 +0000 (18:13 +0200)
commitd5c1d68fdeeecd130d60007522c5db179e47e3d2
treee2ead4bde72baf51c49d9f2059be280f327150da
parentb5c40d598f5408bd0ca22dfffa82f03cd9433f23
btrfs: compression: Add linux/sizes.h for compression.h

Since compression.h is using the SZ_* macros, and if some file includes
only compression.h without linux/sizes.h, it will cause compile error.

One example is lzo.c, if it uses BTRFS_MAX_COMPRESSED.  Fix it by adding
linux/sizes.h in compression.h

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.h