[PATCH V2 8/8] Btrfs: self-tests: Fix extent buffer bitmap test fail on BE system

2016-06-01 Thread Feifei Xu
In __test_eb_bitmaps(), we write random data to a bitmap. Then copy the bitmap to another bitmap that resides inside an extent buffer. Later we verify the values of corresponding bits in the bitmap and the bitmap inside the extent buffer. However, extent_buffer_test_bit() reads in byte granularity

[PATCH V2 8/8] Btrfs: self-tests: Fix extent buffer bitmap test fail on BE system

2016-06-01 Thread Feifei Xu
In __test_eb_bitmaps(), we write random data to a bitmap. Then copy the bitmap to another bitmap that resides inside an extent buffer. Later we verify the values of corresponding bits in the bitmap and the bitmap inside the extent buffer. However, extent_buffer_test_bit() reads in byte granularity