]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
raid6check - fix compile
authorNeilBrown <neilb@suse.de>
Tue, 2 Jul 2013 06:06:55 +0000 (16:06 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 2 Jul 2013 06:06:55 +0000 (16:06 +1000)
Recent rearrangement of library code broke 'raid6check' and this
wasn't noticed because 'make everything' doesn't build it.

So fix the breakage and have 'make everything' built it.

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

index 86d94f11c94cd4da5d2f13ab3edd4d097c459982..167e02dd9f9a35c6839b7ab290640e5d0e8578de 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -120,7 +120,7 @@ OBJS =  mdadm.o config.o policy.o mdstat.o  ReadMe.o util.o maps.o lib.o \
        restripe.o sysfs.o sha1.o mapfile.o crc32.o sg_io.o msg.o xmalloc.o \
        platform-intel.o probe_roms.o
 
-CHECK_OBJS = restripe.o sysfs.o maps.o lib.o xmalloc.o
+CHECK_OBJS = restripe.o sysfs.o maps.o lib.o xmalloc.o dlink.o
 
 SRCS =  $(patsubst %.o,%.c,$(OBJS))
 
@@ -152,7 +152,7 @@ endif
 all : mdadm mdmon
 man : mdadm.man md.man mdadm.conf.man mdmon.man raid6check.man
 
-everything: all mdadm.static swap_super test_stripe \
+everything: all mdadm.static swap_super test_stripe raid6check \
        mdassemble mdassemble.auto mdassemble.static mdassemble.man \
        mdadm.Os mdadm.O2 man
 everything-test: all mdadm.static swap_super test_stripe \