From: Josef Bacik Date: Wed, 26 Oct 2022 19:08:19 +0000 (-0400) Subject: btrfs: add blk_types.h include to compression.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5034388342564877879e2a94faf72eff468a7437;p=linux.git btrfs: add blk_types.h include to compression.h When moving the printk messages into their own file I got a compiler error because the includes grabbed compression.h, but nothing pulled in the blk_types.h dependency that compression.h has because it uses blkstatus_t. Add blk_types.h to compression.h so that this sort of thing doesn't happen in the future. Reviewed-by: Johannes Thumshirn Signed-off-by: Josef Bacik Reviewed-by: David Sterba Signed-off-by: David Sterba --- diff --git a/fs/btrfs/compression.h b/fs/btrfs/compression.h index 9da2343eeff5f..b961462399aeb 100644 --- a/fs/btrfs/compression.h +++ b/fs/btrfs/compression.h @@ -6,6 +6,7 @@ #ifndef BTRFS_COMPRESSION_H #define BTRFS_COMPRESSION_H +#include #include struct btrfs_inode;