[PATCH] ext4: removesector_t bits check
authorMingming Cao <cmm@us.ibm.com>
Wed, 11 Oct 2006 08:21:13 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:18 +0000 (11:14 -0700)
commit9b8f1f0106ab39ad58765d4e7c57189835f51127
tree7f853ec30e4edc57f8b0c82db52b20a5beb75c38
parent2ae0210760aed9d626eaede5b63db95e198f7c8e
[PATCH] ext4: removesector_t bits check

Previously when in-kernel ext4 block type is sector_t, it's only 4 bits long
under some 32bit arch (when CONFIG_LBD is not on).  So we need to check the
size of sector_t before we read 48bit long on-disk blocks to in-kernel blocks.

These checks are unnecessary now as we changed the in-kernel blocks to
unsigned longlong.

Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext4/extents.c
fs/ext4/inode.c