commit | 21e7626b12f25770e2975bc7c7b2e1d5b1d58a57 | [log] [tgz] |
---|---|---|
author | David Sterba <dsterba@suse.cz> | Mon Oct 27 13:52:21 2014 +0100 |
committer | Chris Mason <clm@fb.com> | Mon Oct 27 13:16:52 2014 -0700 |
tree | ffef7ad5af46ccba495eac6a21b86f582d46e6d6 | |
parent | d37973082b453ba6b89ec07eb7b84305895d35e1 [diff] |
btrfs: use macro accessors in superblock validation checks 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>