diff mbox

[2/3] ext4: correct the debug message in ext4_ext_insert_extent

Message ID 1311301421-10533-2-git-send-email-hao.bigrat@gmail.com
State Accepted, archived
Headers show

Commit Message

Robin Dong July 22, 2011, 2:23 a.m. UTC
From: Robin Dong <sanbai@taobao.com>

The debug message in ext4_ext_insert_extent before moving extent
is incorrect (the "from xx to xx").

Signed-off-by: Robin Dong <sanbai@taobao.com>
---
 fs/ext4/extents.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Comments

Theodore Ts'o July 24, 2011, 1:55 a.m. UTC | #1
On Fri, Jul 22, 2011 at 10:23:40AM +0800, Robin Dong wrote:
> From: Robin Dong <sanbai@taobao.com>
> 
> The debug message in ext4_ext_insert_extent before moving extent
> is incorrect (the "from xx to xx").
> 
> Signed-off-by: Robin Dong <sanbai@taobao.com>

Thanks, added to the ext4 tree.

					- 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
diff mbox

Patch

diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c
index 3966839..a4d6216 100644
--- a/fs/ext4/extents.c
+++ b/fs/ext4/extents.c
@@ -1839,7 +1839,7 @@  has_space:
 				ext4_ext_pblock(newext),
 				ext4_ext_is_uninitialized(newext),
 				ext4_ext_get_actual_len(newext),
-				nearex, len, nearex + 1, nearex + 2);
+				nearex, len, nearex, nearex + 1);
 		memmove(nearex + 1, nearex, len);
 		path[depth].p_ext = nearex;
 	}