aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/extents.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/extents.c')
-rw-r--r--fs/ext4/extents.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index ea2ce3c0ae66..e5b169b44b4c 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -189,9 +189,10 @@ ext4_ext_new_meta_block(handle_t *handle, struct inode *inode,
189 struct ext4_extent *ex, int *err) 189 struct ext4_extent *ex, int *err)
190{ 190{
191 ext4_fsblk_t goal, newblock; 191 ext4_fsblk_t goal, newblock;
192 unsigned long count = 1;
192 193
193 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block)); 194 goal = ext4_ext_find_goal(inode, path, le32_to_cpu(ex->ee_block));
194 newblock = ext4_new_meta_block(handle, inode, goal, err); 195 newblock = ext4_new_meta_blocks(handle, inode, goal, &count, err);
195 return newblock; 196 return newblock;
196} 197}
197 198