From: Yongqiang Yang Date: Tue, 1 Nov 2011 22:59:26 +0000 (-0400) Subject: ext4: let ext4_ext_rm_leaf work with EXT_DEBUG defined X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bf52c6f7af55c48ab0fd5f990460b884b428d906;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: "Theodore Ts'o" --- 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);