]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Don't try to set_array_info when -I find new devices for an array.
authorNeilBrown <neilb@suse.de>
Thu, 18 Sep 2008 07:05:02 +0000 (17:05 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 18 Sep 2008 07:05:02 +0000 (17:05 +1000)
commit04c0634e8f5bfc9e854b69b0fbbb6e2ad6793010
tree95b83699a5e60bf099f142daa5766dc600d8e60a
parent577527957206eafdfe78bd607abed5eafa09c130
Don't try to set_array_info when -I find new devices for an array.

When -I get a new device for a container and tries to incrementally
assemble the container array, it calls sysfs_set_array to create the
array without first checking if it already exists.  This produces
unpleasant error messages.

So check first.

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