Message ID | 20200408070412.40911-1-wqu@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | btrfs-progs: Fix bad kernel header non-flat include case | expand |
On Wed, Apr 08, 2020 at 03:04:12PM +0800, Qu Wenruo wrote: > If we're compiling using system header, we should include > <btrfs/crc32c.h> other than "btrfs/crc32.h". > > Fixes: 2efe160bc757 ("btrfs-progs: move name hashing functions to ctree.h and delete hash.h") > Signed-off-by: Qu Wenruo <wqu@suse.com> Added to devel, thanks.
diff --git a/ctree.h b/ctree.h index 9d69fa946079..df830956fdb8 100644 --- a/ctree.h +++ b/ctree.h @@ -38,7 +38,7 @@ #include <btrfs/extent_io.h> #include <btrfs/ioctl.h> #include <btrfs/sizes.h> -#include "btrfs/crc32c.h" +#include <btrfs/crc32c.h> #endif /* BTRFS_FLAT_INCLUDES */ struct btrfs_root;
If we're compiling using system header, we should include <btrfs/crc32c.h> other than "btrfs/crc32.h". Fixes: 2efe160bc757 ("btrfs-progs: move name hashing functions to ctree.h and delete hash.h") Signed-off-by: Qu Wenruo <wqu@suse.com> --- ctree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)