Skip to content

Commit

Permalink
ext4: let ext4_ext_rm_leaf work with EXT_DEBUG defined
Browse files Browse the repository at this point in the history
The variable 'block' is removed by commit 750c9c4, so use the
replacement ex_ee_block instead.

Signed-off-by: Yongqiang Yang <[email protected]>
Signed-off-by: "Theodore Ts'o" <[email protected]>
  • Loading branch information
xiaoqiangnk authored and tytso committed Nov 1, 2011
1 parent 32de675 commit bf52c6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/ext4/extents.c
Original file line number Diff line number Diff line change
Expand Up @@ -2424,7 +2424,7 @@ ext4_ext_rm_leaf(handle_t *handle, struct inode *inode,
if (err)
goto out;

ext_debug("new extent: %u:%u:%llu\n", block, num,
ext_debug("new extent: %u:%u:%llu\n", ex_ee_block, num,
ext4_ext_pblock(ex));
ex--;
ex_ee_block = le32_to_cpu(ex->ee_block);
Expand Down

0 comments on commit bf52c6f

Please sign in to comment.