]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9fed50bc60fa9d3e2b723c51adb0f33dcd16b72
tree34d4e626b9c4abaf98e79fb705ba1e4a21f9e7f9
parent31df2361467d8724dbf843d7139603ed39f328a7
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