diff options
author | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:37 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-07-12 20:27:37 +1000 |
commit | b8ac1967953fea50f0ec1e1650a3a9f52e6525d8 (patch) | |
tree | 5571de13f84fcfb82fe595960d43192e7866c66c /Query.c | |
parent | 1522c538b1b8a685d4f0280eefbb2b82b82c1b6a (diff) | |
download | mdadm-b8ac1967953fea50f0ec1e1650a3a9f52e6525d8.tar.gz mdadm-b8ac1967953fea50f0ec1e1650a3a9f52e6525d8.tar.xz mdadm-b8ac1967953fea50f0ec1e1650a3a9f52e6525d8.zip |
Remove 'major' from superswitch.
It isn't generally meaningful.
Diffstat (limited to 'Query.c')
-rw-r--r-- | Query.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -96,7 +96,7 @@ int Query(char *dev) if (superror == 0) { /* array might be active... */ st->ss->getinfo_super(st, &info); - if (st->ss->major == 0) { + if (st->ss == &super0) { mddev = get_md_name(info.array.md_minor); disc.number = info.disk.number; activity = "undetected"; @@ -121,7 +121,7 @@ int Query(char *dev) activity, map_num(pers, info.array.level), mddev); - if (st->ss->major == 0) + if (st->ss == &super0) put_md_name(mddev); } return 0; |