summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorTheodore Ts'o2011-09-10 01:14:51 +0200
committerTheodore Ts'o2011-09-10 01:14:51 +0200
commite7d5f3156e6827970f75ab27ad7eb0155826eb0b (patch)
tree7eab0a0660052e4a3fe1bba57a869138fb29e7f4 /fs/ext4/mballoc.c
parentext4: rename ext4_free_blocks_after_init() to ext4_free_clusters_after_init() (diff)
downloadkernel-qcow2-linux-e7d5f3156e6827970f75ab27ad7eb0155826eb0b.tar.gz
kernel-qcow2-linux-e7d5f3156e6827970f75ab27ad7eb0155826eb0b.tar.xz
kernel-qcow2-linux-e7d5f3156e6827970f75ab27ad7eb0155826eb0b.zip
ext4: rename ext4_claim_free_blocks() to ext4_claim_free_clusters()
This function really claims a number of free clusters, not blocks, so rename it so it's clearer what's going on. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 90a3ed7c565c..1c83161090f8 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4297,7 +4297,7 @@ ext4_fsblk_t ext4_mb_new_blocks(handle_t *handle,
* and verify allocation doesn't exceed the quota limits.
*/
while (ar->len &&
- ext4_claim_free_blocks(sbi, ar->len, ar->flags)) {
+ ext4_claim_free_clusters(sbi, ar->len, ar->flags)) {
/* let others to free the space */
yield();