[Updated PATCH] ext4: Use the correct block number when reading the super block.

2007-12-31 Thread Aneesh Kumar K.V
If the block device hard sector size is larger than EXT4_MIN_BLOCK_SIZE we end up with wrong block number when reading super block. Signed-off-by: Aneesh Kumar K.V [EMAIL PROTECTED] --- fs/ext4/super.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git

Re: [Updated PATCH] ext4: Use the correct block number when reading the super block.

2007-12-31 Thread Aneesh Kumar K.V
On Mon, Dec 31, 2007 at 01:59:22PM +0530, Aneesh Kumar K.V wrote: If the block device hard sector size is larger than EXT4_MIN_BLOCK_SIZE we end up with wrong block number when reading super block. Ignore the patch. I got confused by the do_div syntax. The do_div already save the division