diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 19:59:43 +0200 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 19:59:43 +0200 |
commit | d7be7d87366a7f9b190bc4e41ea06f7c9984028e (patch) | |
tree | 48d43094e34376fa3dc7eab21546a10bc1119722 /Monitor.c | |
parent | mdadm: Fixup a large number of bad formatting of logical operators (diff) | |
download | mdadm-d7be7d87366a7f9b190bc4e41ea06f7c9984028e.tar.xz mdadm-d7be7d87366a7f9b190bc4e41ea06f7c9984028e.zip |
mdadm: Fixup more broken logical operator formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Monitor.c')
-rw-r--r-- | Monitor.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -530,7 +530,7 @@ static int check_array(struct state *st, struct mdstat_ent *mdstat, if (st->utime == array.utime && st->failed == sra->array.failed_disks && st->working == sra->array.working_disks && st->spare == sra->array.spare_disks && - (mse == NULL || (mse->percent == st->percent))) { + (mse == NULL || (mse->percent == st->percent))) { if ((st->active < st->raid) && st->spare == 0) retval = 1; goto out; @@ -672,7 +672,7 @@ static int add_new_arrays(struct mdstat_ent *mdstat, struct state **statelist, char *name; for (mse = mdstat; mse; mse = mse->next) - if (mse->devnm[0] && (!mse->level || /* retrieve containers */ + if (mse->devnm[0] && (!mse->level || /* retrieve containers */ (strcmp(mse->level, "raid0") != 0 && strcmp(mse->level, "linear") != 0))) { struct state *st = xcalloc(1, sizeof *st); |