ext4: correct the debug message in ext4_ext_insert_extent
authorRobin Dong <sanbai@taobao.com>
Sun, 24 Jul 2011 01:51:07 +0000 (21:51 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sun, 24 Jul 2011 01:51:07 +0000 (21:51 -0400)
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>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/extents.c

index 33bbe8467bd686b83bcdc64d94b7bd90f408ff9c..a637d837a89553a252b43188cd27108b181c9a07 100644 (file)
@@ -1806,7 +1806,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;
        }