diff options
author | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 13:59:43 -0400 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2017-05-16 13:59:43 -0400 |
commit | d7be7d87366a7f9b190bc4e41ea06f7c9984028e (patch) | |
tree | 48d43094e34376fa3dc7eab21546a10bc1119722 /Manage.c | |
parent | fc54fe7a7e77fdb6316d332d4d41d0ed2293d6be (diff) | |
download | mdadm-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) { |