ext4: cleanup to use ext4_group_first_block_no()
authorAkinobu Mita <akinobu.mita@gmail.com>
Thu, 4 Mar 2010 04:53:39 +0000 (23:53 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 4 Mar 2010 04:53:39 +0000 (23:53 -0500)
commit5661bd6861b7490394e29aaf74dca812188272e4
tree34d4e626b9c4abaf98e79fb705ba1e4a21f9e7f9
parent9b1d0998d24f9c207d5fbdd0b8bac07284e0eda7
ext4: cleanup to use ext4_group_first_block_no()

This is a cleanup and simplification patch which takes some open-coded
calculations to calculate the first block number of a group and
converts them to use the (already defined) ext4_group_first_block_no()
function.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: Andreas Dilger <adilger@sun.com>
fs/ext4/balloc.c
fs/ext4/extents.c
fs/ext4/mballoc.c
fs/ext4/mballoc.h