projects
/
firefly-linux-kernel-4.4.55.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 37259ff5cd718da14792643da76a518d59eda8d2..45ca8f9b0d612f3ec08e34004f2095b3dd035d1c 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;