projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5718789
)
ext4: correct the debug message in ext4_ext_insert_extent
author
Robin Dong
<sanbai@taobao.com>
Sun, 24 Jul 2011 01:51:07 +0000
(21:51 -0400)
committer
Theodore 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/ext4/extents.c
b/fs/ext4/extents.c
index 33bbe8467bd686b83bcdc64d94b7bd90f408ff9c..a637d837a89553a252b43188cd27108b181c9a07 100644
(file)
--- a/
fs/ext4/extents.c
+++ b/
fs/ext4/extents.c
@@
-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;
}