diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/extents.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index f57cc0e7f1bc..593091537e76 100644 --- a/fs/ext4/extents.c +++ b/fs/ext4/extents.c | |||
@@ -4261,8 +4261,8 @@ got_allocated_blocks: | |||
4261 | /* not a good idea to call discard here directly, | 4261 | /* not a good idea to call discard here directly, |
4262 | * but otherwise we'd need to call it every free() */ | 4262 | * but otherwise we'd need to call it every free() */ |
4263 | ext4_discard_preallocations(inode); | 4263 | ext4_discard_preallocations(inode); |
4264 | ext4_free_blocks(handle, inode, NULL, ext4_ext_pblock(&newex), | 4264 | ext4_free_blocks(handle, inode, NULL, newblock, |
4265 | ext4_ext_get_actual_len(&newex), fb_flags); | 4265 | EXT4_C2B(sbi, allocated_clusters), fb_flags); |
4266 | goto out2; | 4266 | goto out2; |
4267 | } | 4267 | } |
4268 | 4268 | ||