summaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-09 19:10:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-09 19:10:51 -0400
commit5dee54372c1ea15ab482b959634cda8c01b042bd (patch)
tree512da0144f6a9f86b5817569d0521b60cddee4c9 /fs/ext4/ext4.h
parent021b65bb1e4e4b625c80bbb82651e5e155721ef3 (diff)
downloadop-kernel-dev-5dee54372c1ea15ab482b959634cda8c01b042bd.zip
op-kernel-dev-5dee54372c1ea15ab482b959634cda8c01b042bd.tar.gz
ext4: rename ext4_count_free_blocks() to ext4_count_free_clusters()
This function really counts the free clusters reported in the block group descriptors, so rename it to reduce confusion. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/ext4.h')
-rw-r--r--fs/ext4/ext4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index db279c3..f6963cd 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -1775,7 +1775,7 @@ extern ext4_fsblk_t ext4_new_meta_blocks(handle_t *handle, struct inode *inode,
int *errp);
extern int ext4_claim_free_blocks(struct ext4_sb_info *sbi,
s64 nblocks, unsigned int flags);
-extern ext4_fsblk_t ext4_count_free_blocks(struct super_block *);
+extern ext4_fsblk_t ext4_count_free_clusters(struct super_block *);
extern void ext4_check_blocks_bitmap(struct super_block *);
extern struct ext4_group_desc * ext4_get_group_desc(struct super_block * sb,
ext4_group_t block_group,
OpenPOWER on IntegriCloud