Loading fs/btrfs/extent_io.c +8 −8 Original line number Diff line number Diff line Loading @@ -726,14 +726,6 @@ static int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, start = last_end + 1; if (start <= end && state && !need_resched()) goto hit_next; goto search_again; out: spin_unlock(&tree->lock); if (prealloc) free_extent_state(prealloc); return 0; search_again: if (start > end) Loading @@ -742,6 +734,14 @@ static int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, if (gfpflags_allow_blocking(mask)) cond_resched(); goto again; out: spin_unlock(&tree->lock); if (prealloc) free_extent_state(prealloc); return 0; } static void wait_on_state(struct extent_io_tree *tree, Loading Loading
fs/btrfs/extent_io.c +8 −8 Original line number Diff line number Diff line Loading @@ -726,14 +726,6 @@ static int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, start = last_end + 1; if (start <= end && state && !need_resched()) goto hit_next; goto search_again; out: spin_unlock(&tree->lock); if (prealloc) free_extent_state(prealloc); return 0; search_again: if (start > end) Loading @@ -742,6 +734,14 @@ static int __clear_extent_bit(struct extent_io_tree *tree, u64 start, u64 end, if (gfpflags_allow_blocking(mask)) cond_resched(); goto again; out: spin_unlock(&tree->lock); if (prealloc) free_extent_state(prealloc); return 0; } static void wait_on_state(struct extent_io_tree *tree, Loading