This puts '&&' on the first line of if statement.

Signed-off-by: Liu Bo <[email protected]>
---
 fs/btrfs/extent-tree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c
index 6832047..4cf332c 100644
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -7789,8 +7789,8 @@ static noinline int find_free_extent(struct btrfs_root 
*orig_root,
        }
        up_read(&space_info->groups_sem);
 
-       if ((loop == LOOP_CACHING_NOWAIT) && have_caching_bg
-               && !orig_have_caching_bg)
+       if ((loop == LOOP_CACHING_NOWAIT) && have_caching_bg &&
+           !orig_have_caching_bg)
                orig_have_caching_bg = true;
 
        if (!ins->objectid && loop >= LOOP_CACHING_WAIT && have_caching_bg)
-- 
2.5.5

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to