projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1b729a
)
Fix a typo in btrfs-progs/extent_map.c
author
Yan
<yanzheng@21cn.com>
Mon, 14 Jan 2008 18:35:00 +0000
(13:35 -0500)
committer
David Woodhouse
<dwmw2@hera.kernel.org>
Mon, 14 Jan 2008 18:35:00 +0000
(13:35 -0500)
Hello,
update_extent_state is called with wrong parameter in merge_state.
extent_map.c
patch
|
blob
|
history
diff --git
a/extent_map.c
b/extent_map.c
index
8a6b071
..
c797926
100644
(file)
--- a/
extent_map.c
+++ b/
extent_map.c
@@
-123,7
+123,7
@@
static int merge_state(struct extent_map_tree *tree,
if (other->start == state->end + 1 &&
other->state == state->state) {
other->start = state->start;
- update_extent_state(
state
);
+ update_extent_state(
other
);
remove_cache_extent(&tree->state, &state->cache_node);
free_extent_state(state);
}