aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/migrate.c')
-rw-r--r--fs/ext4/migrate.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/ext4/migrate.c b/fs/ext4/migrate.c
index ec7cb567a7da..3ebc2332f52e 100644
--- a/fs/ext4/migrate.c
+++ b/fs/ext4/migrate.c
@@ -236,10 +236,10 @@ static int free_dind_blocks(handle_t *handle,
236 for (i = 0; i < max_entries; i++) { 236 for (i = 0; i < max_entries; i++) {
237 if (tmp_idata[i]) 237 if (tmp_idata[i])
238 ext4_free_blocks(handle, inode, 238 ext4_free_blocks(handle, inode,
239 le32_to_cpu(tmp_idata[i]), 1); 239 le32_to_cpu(tmp_idata[i]), 1, 1);
240 } 240 }
241 put_bh(bh); 241 put_bh(bh);
242 ext4_free_blocks(handle, inode, le32_to_cpu(i_data), 1); 242 ext4_free_blocks(handle, inode, le32_to_cpu(i_data), 1, 1);
243 return 0; 243 return 0;
244} 244}
245 245
@@ -267,7 +267,7 @@ static int free_tind_blocks(handle_t *handle,
267 } 267 }
268 } 268 }
269 put_bh(bh); 269 put_bh(bh);
270 ext4_free_blocks(handle, inode, le32_to_cpu(i_data), 1); 270 ext4_free_blocks(handle, inode, le32_to_cpu(i_data), 1, 1);
271 return 0; 271 return 0;
272} 272}
273 273
@@ -278,7 +278,7 @@ static int free_ind_block(handle_t *handle, struct inode *inode)
278 278
279 if (ei->i_data[EXT4_IND_BLOCK]) 279 if (ei->i_data[EXT4_IND_BLOCK])
280 ext4_free_blocks(handle, inode, 280 ext4_free_blocks(handle, inode,
281 le32_to_cpu(ei->i_data[EXT4_IND_BLOCK]), 1); 281 le32_to_cpu(ei->i_data[EXT4_IND_BLOCK]), 1, 1);
282 282
283 if (ei->i_data[EXT4_DIND_BLOCK]) { 283 if (ei->i_data[EXT4_DIND_BLOCK]) {
284 retval = free_dind_blocks(handle, inode, 284 retval = free_dind_blocks(handle, inode,
@@ -365,7 +365,7 @@ static int free_ext_idx(handle_t *handle, struct inode *inode,
365 } 365 }
366 } 366 }
367 put_bh(bh); 367 put_bh(bh);
368 ext4_free_blocks(handle, inode, block, 1); 368 ext4_free_blocks(handle, inode, block, 1, 1);
369 return retval; 369 return retval;
370} 370}
371 371