]> 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)
commit4faef1a969954999072e9b0244a495e0c7274ea8
tree5992d541a005137a57a44921fd1be6311ee841d2
parentbbd93eeb2a14003e03dad6f278dae1f67e5e53db
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