The patch titled endianness fixes for 16T ext patches has been added to the -mm tree. Its filename is more-ext3-16t-overflow-fixes-fix.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: endianness fixes for 16T ext patches From: Eric Sandeen <esandeen@xxxxxxxxxx> Fix some endian errors in the 16T ext[23] patches I sent in the past couple weeks. Signed-off-by: Eric Sandeen <esandeen@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/ext3/resize.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff -puN fs/ext3/resize.c~more-ext3-16t-overflow-fixes-fix fs/ext3/resize.c --- a/fs/ext3/resize.c~more-ext3-16t-overflow-fixes-fix +++ a/fs/ext3/resize.c @@ -730,12 +730,14 @@ int ext3_group_add(struct super_block *s return -EPERM; } - if (es->s_blocks_count + input->blocks_count < es->s_blocks_count) { + if (le32_to_cpu(es->s_blocks_count) + input->blocks_count < + le32_to_cpu(es->s_blocks_count)) { ext3_warning(sb, __FUNCTION__, "blocks_count overflow\n"); return -EINVAL; } - if (es->s_inodes_count+EXT3_INODES_PER_GROUP(sb) < es->s_inodes_count) { + if (le32_to_cpu(es->s_inodes_count) + EXT3_INODES_PER_GROUP(sb) < + le32_to_cpu(es->s_inodes_count)) { ext3_warning(sb, __FUNCTION__, "inodes_count overflow\n"); return -EINVAL; } _ Patches currently in -mm which might be from esandeen@xxxxxxxxxx are mount-udf-udf_part_flag_read_only-partitions-with-ms_rdonly.patch fix-ext3-mounts-at-16t.patch fix-ext3-mounts-at-16t-fix.patch fix-ext2-mounts-at-16t.patch fix-ext2-mounts-at-16t-fix.patch more-ext3-16t-overflow-fixes.patch more-ext3-16t-overflow-fixes-fix.patch ext3-inode-numbers-are-unsigned-long.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html