[Btrfs-devel][PATCH]Fix a typo in btrfs-progs/extent_map.c
Yan Zheng
yanzheng at 21cn.com
Thu Jan 10 02:48:58 PST 2008
Hello,
update_extent_state is called with wrong parameter in merge_state.
Regards
YZ
---
diff -r 94f19b1859e1 extent_map.c
--- a/extent_map.c Tue Jan 08 15:56:32 2008 -0500
+++ b/extent_map.c Thu Jan 10 18:41:21 2008 +0800
@@ -123,7 +123,7 @@ static int merge_state(struct extent_map
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);
}
More information about the Btrfs-devel
mailing list