diff options
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 f9198d7875cc..557c34ffa05b 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -1071,7 +1071,7 @@ repeat: | |||
1071 | * We do still charge estimated metadata to the sb though; | 1071 | * We do still charge estimated metadata to the sb though; |
1072 | * we cannot afford to run out of free blocks. | 1072 | * we cannot afford to run out of free blocks. |
1073 | */ | 1073 | */ |
1074 | if (ext4_claim_free_blocks(sbi, md_needed + 1, 0)) { | 1074 | if (ext4_claim_free_clusters(sbi, md_needed + 1, 0)) { |
1075 | dquot_release_reservation_block(inode, EXT4_C2B(sbi, 1)); | 1075 | dquot_release_reservation_block(inode, EXT4_C2B(sbi, 1)); |
1076 | if (ext4_should_retry_alloc(inode->i_sb, &retries)) { | 1076 | if (ext4_should_retry_alloc(inode->i_sb, &retries)) { |
1077 | yield(); | 1077 | yield(); |