diff options
Diffstat (limited to 'fs/ext4/balloc.c')
-rw-r--r-- | fs/ext4/balloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ext4/balloc.c b/fs/ext4/balloc.c index 3b64bb16c727..e53b4af52f11 100644 --- a/fs/ext4/balloc.c +++ b/fs/ext4/balloc.c | |||
@@ -517,7 +517,7 @@ do_more: | |||
517 | /* | 517 | /* |
518 | * An HJ special. This is expensive... | 518 | * An HJ special. This is expensive... |
519 | */ | 519 | */ |
520 | #ifdef CONFIG_JBD_DEBUG | 520 | #ifdef CONFIG_JBD2_DEBUG |
521 | jbd_unlock_bh_state(bitmap_bh); | 521 | jbd_unlock_bh_state(bitmap_bh); |
522 | { | 522 | { |
523 | struct buffer_head *debug_bh; | 523 | struct buffer_head *debug_bh; |
@@ -1585,7 +1585,7 @@ allocated: | |||
1585 | ret_block = grp_alloc_blk + ext4_group_first_block_no(sb, group_no); | 1585 | ret_block = grp_alloc_blk + ext4_group_first_block_no(sb, group_no); |
1586 | 1586 | ||
1587 | if (in_range(ext4_block_bitmap(sb, gdp), ret_block, num) || | 1587 | if (in_range(ext4_block_bitmap(sb, gdp), ret_block, num) || |
1588 | in_range(ext4_block_bitmap(sb, gdp), ret_block, num) || | 1588 | in_range(ext4_inode_bitmap(sb, gdp), ret_block, num) || |
1589 | in_range(ret_block, ext4_inode_table(sb, gdp), | 1589 | in_range(ret_block, ext4_inode_table(sb, gdp), |
1590 | EXT4_SB(sb)->s_itb_per_group) || | 1590 | EXT4_SB(sb)->s_itb_per_group) || |
1591 | in_range(ret_block + num - 1, ext4_inode_table(sb, gdp), | 1591 | in_range(ret_block + num - 1, ext4_inode_table(sb, gdp), |
@@ -1597,7 +1597,7 @@ allocated: | |||
1597 | 1597 | ||
1598 | performed_allocation = 1; | 1598 | performed_allocation = 1; |
1599 | 1599 | ||
1600 | #ifdef CONFIG_JBD_DEBUG | 1600 | #ifdef CONFIG_JBD2_DEBUG |
1601 | { | 1601 | { |
1602 | struct buffer_head *debug_bh; | 1602 | struct buffer_head *debug_bh; |
1603 | 1603 | ||