summaryrefslogtreecommitdiffstats
path: root/mdadm.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 /mdadm.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 'mdadm.c')
-rw-r--r--mdadm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdadm.c b/mdadm.c
index b689e328..70b16f22 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1843,8 +1843,7 @@ static int misc_scan(char devmode, struct context *c)
if (members != member)
continue;
me = map_by_devnm(&map, e->devnm);
- if (me && me->path
- && strcmp(me->path, "/unknown") != 0)
+ if (me && me->path && strcmp(me->path, "/unknown") != 0)
name = me->path;
if (name == NULL || stat(name, &stb) != 0)
name = get_md_name(e->devnm);