* [PATCH] Btrfs: fix if style in find_free_extent
@ 2017-02-13 23:43 Liu Bo
0 siblings, 0 replies; only message in thread
From: Liu Bo @ 2017-02-13 23:43 UTC (permalink / raw)
To: linux-btrfs; +Cc: David Sterba
This puts '&&' on the first line of if statement.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-13 23:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 23:43 [PATCH] Btrfs: fix if style in find_free_extent Liu Bo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).