btrfs-progs: fix btrfsck of space_cache=v2 bitmaps on big-endian
authorOmar Sandoval <osandov@fb.com>
Fri, 15 Jul 2016 19:12:48 +0000 (12:12 -0700)
committerDavid Sterba <dsterba@suse.com>
Tue, 26 Jul 2016 16:35:05 +0000 (18:35 +0200)
commit1d6c7cb725bb7d25981d44915b316e24751b7b72
tree7199982cc55d2a8631191bcd98ac9cbabd54f3b9
parent029772be1152bbdf921ee74b95cfcde4003f5e46
btrfs-progs: fix btrfsck of space_cache=v2 bitmaps on big-endian

Copy le_test_bit() from the kernel and use that for the free space tree
bitmaps.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
extent_io.c
extent_io.h
kerncompat.h