summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-05-16 19:52:15 +0200
committerJes Sorensen <jsorensen@fb.com>2017-05-16 19:52:15 +0200
commitfc54fe7a7e77fdb6316d332d4d41d0ed2293d6be (patch)
treed39dfb23d1a1c72bfa4a033bb31449f0c20cf87e /monitor.c
parentsuper-ddf: sysfs_read() takes a pointer as device name argument (diff)
downloadmdadm-fc54fe7a7e77fdb6316d332d4d41d0ed2293d6be.tar.xz
mdadm-fc54fe7a7e77fdb6316d332d4d41d0ed2293d6be.zip
mdadm: Fixup a large number of bad formatting of logical operators
Logical oprators never belong at the beginning of a line. Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor.c b/monitor.c
index 00b7c689..81537ed3 100644
--- a/monitor.c
+++ b/monitor.c
@@ -576,8 +576,8 @@ static int read_and_act(struct active_array *a, fd_set *fds)
a->last_checkpoint = sync_completed;
a->container->ss->set_array_state(a, a->curr_state <= clean);
} else if ((a->curr_action == idle && a->prev_action == reshape) ||
- (a->curr_action == reshape
- && sync_completed > a->last_checkpoint) ) {
+ (a->curr_action == reshape &&
+ sync_completed > a->last_checkpoint)) {
/* Reshape has progressed or completed so we need to
* update the array state - and possibly the array size
*/