]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8188de05441e801fa951d27d16373fb9dc0047ae
tree5992d541a005137a57a44921fd1be6311ee841d2
parent15d870dbc785f82b0c6cb6a84d124362d6a28819
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