]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super1.c
Various fixes for --kill
authorNeilBrown <neilb@suse.de>
Tue, 24 Nov 2009 05:32:01 +0000 (16:32 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 24 Nov 2009 05:32:01 +0000 (16:32 +1100)
commit9277cc7752ae6eb4b10dff7b5fc9ec75d3d52b66
tree08d95ee3f170369863288356c84e45d87b93d876
parent40bc78f5cd292d90917cb0a8c177498a516494c3
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>
Kill.c
mdadm.c
mdadm.h
super0.c
super1.c