projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9b0218
)
Btrfs: be less strict on finding next node in clear_extent_bit
author
Liu Bo
<liubo2009@cn.fujitsu.com>
Thu, 16 Feb 2012 10:34:36 +0000
(18:34 +0800)
committer
David Sterba
<dsterba@suse.cz>
Tue, 21 Feb 2012 15:02:10 +0000
(16:02 +0100)
In clear_extent_bit, it is enough that next node is adjacent in tree level.
Signed-off-by: Liu Bo <liubo2009@cn.fujitsu.com>
fs/btrfs/extent_io.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/extent_io.c
b/fs/btrfs/extent_io.c
index
37259ff
..
45ca8f9
100644
(file)
--- a/
fs/btrfs/extent_io.c
+++ b/
fs/btrfs/extent_io.c
@@
-582,8
+582,7
@@
next:
if (start <= end && next_node) {
state = rb_entry(next_node, struct extent_state,
rb_node);
- if (state->start == start)
- goto hit_next;
+ goto hit_next;
}
goto search_again;