summaryrefslogtreecommitdiffstats
path: root/fs/ext4/inode.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2011-09-09 19:14:51 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-09-09 19:14:51 -0400
commite7d5f3156e6827970f75ab27ad7eb0155826eb0b (patch)
tree7eab0a0660052e4a3fe1bba57a869138fb29e7f4 /fs/ext4/inode.c
parentcff1dfd767d1ee3c773fd8b57fe310957e5f8abb (diff)
downloadtalos-op-linux-e7d5f3156e6827970f75ab27ad7eb0155826eb0b.tar.gz
talos-op-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/inode.c')
-rw-r--r--fs/ext4/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index f9198d7875cc..557c34ffa05b 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();
OpenPOWER on IntegriCloud