diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-09 19:12:51 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-09 19:12:51 -0400 |
commit | cff1dfd767d1ee3c773fd8b57fe310957e5f8abb (patch) | |
tree | ace05de33bb5d1e2062724818d57d89eae66004f /fs/ext4/balloc.c | |
parent | 5dee54372c1ea15ab482b959634cda8c01b042bd (diff) | |
download | talos-op-linux-cff1dfd767d1ee3c773fd8b57fe310957e5f8abb.tar.gz talos-op-linux-cff1dfd767d1ee3c773fd8b57fe310957e5f8abb.zip |
ext4: rename ext4_free_blocks_after_init() to ext4_free_clusters_after_init()
This function really returns the number of clusters after initializing
an uninitalized block bitmap has been initialized.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r-- | fs/ext4/balloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index 4f303809e076..3d07c35c7089 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c @@ -213,9 +213,9 @@ void ext4_init_block_bitmap(struct super_block *sb, struct buffer_head *bh, /* Return the number of free blocks in a block group. It is used when * the block bitmap is uninitialized, so we can't just count the bits * in the bitmap. */ -unsigned ext4_free_blocks_after_init(struct super_block *sb, - ext4_group_t block_group, - struct ext4_group_desc *gdp) +unsigned ext4_free_clusters_after_init(struct super_block *sb, + ext4_group_t block_group, + struct ext4_group_desc *gdp) { return num_clusters_in_group(sb, block_group) - ext4_num_overhead_clusters(sb, block_group, gdp); |