ext4: split out ext4_free_blocks_after_init()
authorTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 22:42:51 +0000 (18:42 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 22:42:51 +0000 (18:42 -0400)
commitfd034a84e1ea5c8c8d159cd2089c32e792c269b0
tree5992d541a005137a57a44921fd1be6311ee841d2
parent49f7f9af4bb4d7972f3a35a74877937fec9f622d
ext4: split out ext4_free_blocks_after_init()

The function ext4_free_blocks_after_init() used to be a #define of
ext4_init_block_bitmap().  This actually made it difficult to
understand how the function worked, and made it hard make changes to
support clusters.  So as an initial cleanup, I've separated out the
functionality of initializing block bitmap from calculating the number
of free blocks in the new block group.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c
fs/ext4/ext4.h
fs/ext4/ialloc.c