summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-11-01 23:59:26 +0100
committerTheodore Ts'o <tytso@mit.edu>2011-11-01 23:59:26 +0100
commitbf52c6f7af55c48ab0fd5f990460b884b428d906 (patch)
tree8100b2e84bc4ce00802af3e37d00908aaacdcadf /fs/ext4
parentext4: fix a syntax error in ext4_ext_insert_extent when debugging enabled (diff)
downloadlinux-bf52c6f7af55c48ab0fd5f990460b884b428d906.tar.xz
linux-bf52c6f7af55c48ab0fd5f990460b884b428d906.zip
ext4: let ext4_ext_rm_leaf work with EXT_DEBUG defined
The variable 'block' is removed by commit 750c9c47, so use the replacement ex_ee_block instead. Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4')
-rw-r--r--fs/ext4/extents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 8cacaf645e36..61fa9e1614af 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -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);