aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index a93f554b6803..12b3bc026a68 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -2691,7 +2691,7 @@ int __init init_ext4_mballoc(void)
2691 2691
2692void exit_ext4_mballoc(void) 2692void exit_ext4_mballoc(void)
2693{ 2693{
2694 /* 2694 /*
2695 * Wait for completion of call_rcu()'s on ext4_pspace_cachep 2695 * Wait for completion of call_rcu()'s on ext4_pspace_cachep
2696 * before destroying the slab cache. 2696 * before destroying the slab cache.
2697 */ 2697 */
@@ -3330,7 +3330,7 @@ static void ext4_mb_put_pa(struct ext4_allocation_context *ac,
3330 spin_unlock(&pa->pa_lock); 3330 spin_unlock(&pa->pa_lock);
3331 3331
3332 grp_blk = pa->pa_pstart; 3332 grp_blk = pa->pa_pstart;
3333 /* 3333 /*
3334 * If doing group-based preallocation, pa_pstart may be in the 3334 * If doing group-based preallocation, pa_pstart may be in the
3335 * next group when pa is used up 3335 * next group when pa is used up
3336 */ 3336 */
@@ -4534,12 +4534,12 @@ void ext4_free_blocks(handle_t *handle, struct inode *inode,
4534 if (!bh) 4534 if (!bh)
4535 tbh = sb_find_get_block(inode->i_sb, 4535 tbh = sb_find_get_block(inode->i_sb,
4536 block + i); 4536 block + i);
4537 ext4_forget(handle, flags & EXT4_FREE_BLOCKS_METADATA, 4537 ext4_forget(handle, flags & EXT4_FREE_BLOCKS_METADATA,
4538 inode, tbh, block + i); 4538 inode, tbh, block + i);
4539 } 4539 }
4540 } 4540 }
4541 4541
4542 /* 4542 /*
4543 * We need to make sure we don't reuse the freed block until 4543 * We need to make sure we don't reuse the freed block until
4544 * after the transaction is committed, which we can do by 4544 * after the transaction is committed, which we can do by
4545 * treating the block as metadata, below. We make an 4545 * treating the block as metadata, below. We make an