]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdmon: don't include super0 and super1 in mdmon
authorNeilBrown <neilb@suse.de>
Thu, 7 Aug 2014 02:14:49 +0000 (12:14 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 7 Aug 2014 02:14:49 +0000 (12:14 +1000)
They are no needed, and future patch will add a dependency
yo super1 which mdmon doesn't have.

Signed-off-by: NeilBrown <neilb@suse.de>
Makefile
mdmon.c

index d31f6d87cf7f86cce4e160840d2e2e851a15259d..361e625fc9b7e71270577806c6d024be8325b7b5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -132,7 +132,7 @@ INCL = mdadm.h part.h bitmap.h
 
 MON_OBJS = mdmon.o monitor.o managemon.o util.o maps.o mdstat.o sysfs.o \
        policy.o lib.o \
-       Kill.o sg_io.o dlink.o ReadMe.o super0.o super1.o super-intel.o \
+       Kill.o sg_io.o dlink.o ReadMe.o super-intel.o \
        super-mbr.o super-gpt.o \
        super-ddf.o sha1.o crc32.o msg.o bitmap.o xmalloc.o \
        platform-intel.o probe_roms.o
diff --git a/mdmon.c b/mdmon.c
index 21221cd619999a5ed1da5c25746aae0fa2983aaa..27045a122cb4bbf4d73c3bc2d5ed8020cdd03103 100644 (file)
--- a/mdmon.c
+++ b/mdmon.c
@@ -591,3 +591,10 @@ int save_stripes(int *source, unsigned long long *offsets,
 {
        return 0;
 }
+
+struct superswitch super0 = {
+       .name = "0.90",
+};
+struct superswitch super1 = {
+       .name = "1.x",
+};