summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-11-24 16:32:01 +1100
committerNeilBrown <neilb@suse.de>2009-11-24 16:32:01 +1100
commit9277cc7752ae6eb4b10dff7b5fc9ec75d3d52b66 (patch)
tree08d95ee3f170369863288356c84e45d87b93d876 /mdadm.h
parent40bc78f5cd292d90917cb0a8c177498a516494c3 (diff)
downloadmdadm-9277cc7752ae6eb4b10dff7b5fc9ec75d3d52b66.tar.gz
mdadm-9277cc7752ae6eb4b10dff7b5fc9ec75d3d52b66.tar.xz
mdadm-9277cc7752ae6eb4b10dff7b5fc9ec75d3d52b66.zip
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 <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h2
1 files changed, 1 insertions, 1 deletions
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);