diff options
author | Dmitry Monakhov <dmonakhov@openvz.org> | 2013-04-09 23:56:48 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2013-04-09 23:56:48 -0400 |
commit | 171a7f21a76a0958c225b97c00a97a10390d40ee (patch) | |
tree | 2a5a685e1ee99d147ed766da60644c117520d00f /fs/ext4/mmp.c | |
parent | 0b65349ebc24b80cf9f6654a1c4f66c8c796e9f1 (diff) | |
download | linux-stable-171a7f21a76a0958c225b97c00a97a10390d40ee.tar.gz linux-stable-171a7f21a76a0958c225b97c00a97a10390d40ee.tar.bz2 linux-stable-171a7f21a76a0958c225b97c00a97a10390d40ee.zip |
ext4: fix big-endian bug in metadata checksum calculations
Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@vger.kernel.org
Diffstat (limited to 'fs/ext4/mmp.c')
-rw-r--r-- | fs/ext4/mmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mmp.c b/fs/ext4/mmp.c index f9b551561d2c..b3b1f7d99448 100644 --- a/fs/ext4/mmp.c +++ b/fs/ext4/mmp.c @@ -7,7 +7,7 @@ #include "ext4.h" /* Checksumming functions */ -static __u32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) +static __le32 ext4_mmp_csum(struct super_block *sb, struct mmp_struct *mmp) { struct ext4_sb_info *sbi = EXT4_SB(sb); int offset = offsetof(struct mmp_struct, mmp_checksum); |