Re: [RFC PATCH 11/17] Fix overflow in calculation of total file system blocks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andreas Dilger
Date: Thursday, November 13, 2008 - 1:04 pm

On Nov 11, 2008  19:43 -0800, Valerie Aurora Henson wrote:

Casting the first value to __u64 should be enough.

This should really be part of patch 05/17 because that is where "real_end"
is turned into a 64-bit value.

There is a similar fix missing from ext2fs_allocate_inode_bitmap() (even
though there isn't any support for 64-bit inode numbers as yet.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC PATCH 08/17] Turn on new bitmaps in e2fsck and mke2fs, Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
[RFC PATCH 09/17] Add progress bar for allocating block ta ..., Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
[RFC PATCH 10/17] signed int -> blk64_t to fix bugs at 2^3 ..., Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
[RFC PATCH 11/17] Fix overflow in calculation of total fil ..., Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
[RFC PATCH 12/17] Add ext2fs_block_iterate3 (from Ted), Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
[RFC PATCH 13/17] Support 48-bit file acl blocks, Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
[RFC PATCH 14/17] super->s_*_blocks_count -> ext2fs_*_bloc ..., Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
[RFC PATCH 15/17] Convert to inode/block/bitmap/table loc( ..., Valerie Aurora Henson, (Tue Nov 11, 8:43 pm)
Re: [RFC PATCH 11/17] Fix overflow in calculation of total ..., Andreas Dilger, (Thu Nov 13, 1:04 pm)
Re: [RFC PATCH 13/17] Support 48-bit file acl blocks, Andreas Dilger, (Thu Nov 13, 1:14 pm)
Re: [RFC PATCH 13/17] Support 48-bit file acl blocks, Valerie Aurora Henson, (Thu Nov 13, 7:30 pm)
Re: [RFC PATCH 11/17] Fix overflow in calculation of total ..., Valerie Aurora Henson, (Thu Nov 13, 7:34 pm)
Re: [RFC PATCH 10/17] signed int -> blk64_t to fix bugs at ..., Valerie Aurora Henson, (Thu Nov 13, 7:38 pm)
Re: [RFC PATCH 09/17] Add progress bar for allocating bloc ..., Valerie Aurora Henson, (Thu Nov 13, 7:45 pm)
64-bit inode support in e2fsprogs? (was Re: [RFC PATCH 11/ ..., Valerie Aurora Henson, (Thu Nov 13, 8:10 pm)
Re: [RFC PATCH 14/17] super->s_*_blocks_count -> ext2fs_*_ ..., Valerie Aurora Henson, (Thu Nov 13, 8:25 pm)
Re: [RFC PATCH 10/17] signed int -> blk64_t to fix bugs at ..., Valerie Aurora Henson, (Thu Nov 13, 8:54 pm)