btrfs-progs: Fix bad kernel header non-flat include case
PATCH 1/1 btrfs-progs: Fix bad kernel header non-flat include case
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 <[email protected]>
--- ctree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ctree.h +1 -1
@@ -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 ;
Signature · 1 line
2.26.0
Quoted 5 lines · Qu Wenruo
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 <[email protected]>
Added to devel, thanks.