From 9277cc7752ae6eb4b10dff7b5fc9ec75d3d52b66 Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Tue, 24 Nov 2009 16:32:01 +1100 Subject: Various fixes for --kill - When --kill-superblock is used with --metadata, find every different superblock if there are several and kill them all. - When creating a new array, kill off any old metadata. The code to do this was already present but has become broken over time. Signed-off-by: NeilBrown --- mdadm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mdadm.h') diff --git a/mdadm.h b/mdadm.h index 261cdb7..c7f864b 100644 --- a/mdadm.h +++ b/mdadm.h @@ -756,7 +756,7 @@ extern int Monitor(mddev_dev_t devlist, int period, int daemonise, int scan, int oneshot, int dosyslog, int test, char *pidfile, int increments); -extern int Kill(char *dev, int force, int quiet, int noexcl); +extern int Kill(char *dev, struct supertype *st, int force, int quiet, int noexcl); extern int Wait(char *dev); extern int WaitClean(char *dev, int sock, int verbose); -- cgit