btrfs: use macro accessors in superblock validation checks
authorDavid Sterba <dsterba@suse.cz>
Mon, 27 Oct 2014 12:52:21 +0000 (13:52 +0100)
committerChris Mason <clm@fb.com>
Mon, 27 Oct 2014 20:16:52 +0000 (13:16 -0700)
The initial patch c926093ec516f5d316 (btrfs: add more superblock checks)
did not properly use the macro accessors that wrap endianness and the
code would not work correctly on big endian machines.

Reported-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>

No differences found