summaryrefslogtreecommitdiffstats
path: root/Manage.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-05-16 13:59:43 -0400
committerJes Sorensen <jsorensen@fb.com>2017-05-16 13:59:43 -0400
commitd7be7d87366a7f9b190bc4e41ea06f7c9984028e (patch)
tree48d43094e34376fa3dc7eab21546a10bc1119722 /Manage.c
parentfc54fe7a7e77fdb6316d332d4d41d0ed2293d6be (diff)
downloadmdadm-d7be7d87366a7f9b190bc4e41ea06f7c9984028e.tar.gz
mdadm: Fixup more broken logical operator formatting
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Manage.c')
-rw-r--r--Manage.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Manage.c b/Manage.c
index cee5dad8..04b9398c 100644
--- a/Manage.c
+++ b/Manage.c
@@ -655,8 +655,8 @@ int attempt_re_add(int fd, int tfd, struct mddev_dev *dv,
if (dv->failfast == FlagClear)
disc.state &= ~(1 << MD_DISK_FAILFAST);
remove_partitions(tfd);
- if (update || dv->writemostly != FlagDefault
- || dv->failfast != FlagDefault) {
+ if (update || dv->writemostly != FlagDefault ||
+ dv->failfast != FlagDefault) {
int rv = -1;
tfd = dev_open(dv->devname, O_RDWR);
if (tfd < 0) {