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: 2efe160bc7 ("btrfs-progs: move name hashing functions to ctree.h and delete hash.h")
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Qu Wenruo 2020-04-08 15:04:12 +08:00 committed by David Sterba
parent 8c85b34420
commit b29b3e6b73
1 changed files with 1 additions and 1 deletions

View File

@ -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;