Patchwork ext4: let ext4_ext_rm_leaf work with EXT_DEBUG defined

login
register
mail settings
Submitter Yongqiang Yang
Date Nov. 1, 2011, 3:24 a.m.
Message ID <1320117866-16571-1-git-send-email-xiaoqiangnk@gmail.com>
Download mbox | patch
Permalink /patch/123026/
State Accepted
Headers show

Comments

Yongqiang Yang - Nov. 1, 2011, 3:24 a.m.
Var block is removed by commit 750c9c47, so ex_ee_block is used
instead.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
---
 fs/ext4/extents.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Theodore Ts'o - Nov. 1, 2011, 11 p.m.
On Tue, Nov 01, 2011 at 11:24:26AM +0800, Yongqiang Yang wrote:
> Var block is removed by commit 750c9c47, so ex_ee_block is used
> instead.
> 
> Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>

Thanks, applied.

						- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 2798945..4b10b58 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);