diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-09-09 19:14:51 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-09-09 19:14:51 -0400 |
commit | e7d5f3156e6827970f75ab27ad7eb0155826eb0b (patch) | |
tree | 7eab0a0660052e4a3fe1bba57a869138fb29e7f4 /fs/ext4/inode.c | |
parent | cff1dfd767d1ee3c773fd8b57fe310957e5f8abb (diff) | |
download | kernel_goldelico_gta04-e7d5f3156e6827970f75ab27ad7eb0155826eb0b.zip kernel_goldelico_gta04-e7d5f3156e6827970f75ab27ad7eb0155826eb0b.tar.gz kernel_goldelico_gta04-e7d5f3156e6827970f75ab27ad7eb0155826eb0b.tar.bz2 |
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/inode.c')
-rw-r--r-- | fs/ext4/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index f9198d7..557c34f 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c @@ -1071,7 +1071,7 @@ repeat: * We do still charge estimated metadata to the sb though; * we cannot afford to run out of free blocks. */ - if (ext4_claim_free_blocks(sbi, md_needed + 1, 0)) { + if (ext4_claim_free_clusters(sbi, md_needed + 1, 0)) { dquot_release_reservation_block(inode, EXT4_C2B(sbi, 1)); if (ext4_should_retry_alloc(inode->i_sb, &retries)) { yield(); |