ext4: Rename ext4_free_blks_{count,set}() to refer to clusters
authorTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 23:08:51 +0000 (19:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 9 Sep 2011 23:08:51 +0000 (19:08 -0400)
commit021b65bb1e4e4b625c80bbb82651e5e155721ef3
treee1826a0ec395ac2acf46c43113f2c6a64a5165d0
parent6f16b60690ba04cf476480a6f19b204e4b95b4a6
ext4: Rename ext4_free_blks_{count,set}() to refer to clusters

The field bg_free_blocks_count_{lo,high} in the block group
descriptor has been repurposed to hold the number of free clusters for
bigalloc functions.  So rename the functions so it makes it easier to
read and audit the block allocation and block freeing code.

Note: at this point in bigalloc development we doesn't support
online resize, so this also makes it really obvious all of the places
we need to fix up to add support for online resize.

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