[PATCH] ext3: multile block allocate little endian fixes
authorMingming Cao <cmm@us.ibm.com>
Thu, 4 May 2006 02:55:12 +0000 (19:55 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 4 May 2006 03:05:41 +0000 (20:05 -0700)
commit5dea5176e5c32ef9f0d1a41d28427b3bf6881b3a
treef7b6639fa6490bb9a519f50acf0c76fa087d295b
parent8683dc9990158c221e05959935e7dd50a956c574
[PATCH] ext3: multile block allocate little endian fixes

Some places in ext3 multiple block allocation code (in 2.6.17-rc3) don't
handle the little endian well.  This was resulting in *wrong* block numbers
being assigned to in-memory block variables and then stored on disk
eventually.  The following patch has been verified to fix an ext3
filesystem failure when run ltp test on a 64 bit machine.

Signed-off-by; Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/ext3/inode.c