]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-ddf.c
ddf: teach set_disk to cope with new or changed devices.
authorNeilBrown <neilb@suse.de>
Mon, 14 Mar 2011 07:45:26 +0000 (18:45 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 14 Mar 2011 07:45:26 +0000 (18:45 +1100)
commite1316fab98d1ad5b3e07be7ee56b07b0e25353ec
tree5312308f9395074885faa6e6b860322c1edab3aa
parent8a38cb04de6fc90c00cd3ae337b49305c9ae442f
ddf: teach set_disk to cope with new or changed devices.

When set_disk is called, we need to check if the disk has changed or
recently appeared, and update everything properly if it has.

Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c