]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Incremental.c
Incremental: fix adding devices with --incremental
authorNeilBrown <neilb@suse.de>
Thu, 22 Mar 2012 04:53:53 +0000 (15:53 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 22 Mar 2012 04:53:53 +0000 (15:53 +1100)
commit69fe207ed68e560d76a592fd86af32a9d1deca25
treea91b7205733b2005089f23041af572f181f0768b
parent0073a6e189c41ca92123ac11278faddf6355125a
Incremental: fix adding devices with --incremental

We should use 'info' here, not 'info2'.
info2 refers to some other device (There may not even be one).l
info is *this* disk.

This is particularly important for getting info.disk.state
correct, which the kernel depends on to get 're-add' functionality
correct.

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