alistair23-linux/fs/ext3
Mingming Cao fcd5df3588 [PATCH] Avoid disk sector_t overflow for >2TB ext3 filesystem
If ext3 filesystem is larger than 2TB, and sector_t is a u32 (i.e.
CONFIG_LBD not defined in the kernel), the calculation of the disk sector
will overflow.  Add check at ext3_fill_super() and ext3_group_extend() to
prevent mount/remount/resize >2TB ext3 filesystem if sector_t size is 4
bytes.

Verified this patch on a 32 bit platform without CONFIG_LBD defined
(sector_t is 32 bits long), mount refuse to mount a 10TB ext3.

Signed-off-by: Mingming Cao<cmm@us.ibm.com>
Acked-by: Andreas Dilger <adilger@clusterfs.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:01:07 -07:00
..
acl.c [PATCH] Fix two ext[23] uninitialized warnings 2006-02-03 08:32:05 -08:00
acl.h
balloc.c [PATCH] ext3_get_blocks: Adjust reservation window size for mblocks 2006-03-26 08:57:01 -08:00
bitmap.c [PATCH] ext3: Fix debug logging-only compilation error 2006-03-25 08:22:56 -08:00
dir.c [RBTREE] Update ext3 to use rb_parent() accessor macro. 2006-04-21 13:15:57 +01:00
file.c [PATCH] Introduce sys_splice() system call 2006-03-30 12:28:18 -08:00
fsync.c
hash.c
ialloc.c
inode.c [PATCH] ext3: multile block allocate little endian fixes 2006-05-03 20:05:41 -07:00
ioctl.c [PATCH] protect ext3 ioctl modifying append_only, immutable, etc. with i_mutex 2006-04-26 07:52:21 -07:00
Makefile
namei.c [PATCH] ext3: ext3_symlink should use GFP_NOFS allocations inside 2006-03-11 09:19:34 -08:00
namei.h
resize.c [PATCH] Avoid disk sector_t overflow for >2TB ext3 filesystem 2006-06-25 10:01:07 -07:00
super.c [PATCH] Avoid disk sector_t overflow for >2TB ext3 filesystem 2006-06-25 10:01:07 -07:00
symlink.c
xattr.c
xattr.h
xattr_security.c
xattr_trusted.c
xattr_user.c