]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Detail: report correct raid-disk for removed drives.
authorNeilBrown <neilb@suse.com>
Fri, 18 Dec 2015 02:49:30 +0000 (13:49 +1100)
committerNeilBrown <neilb@suse.com>
Fri, 18 Dec 2015 02:49:30 +0000 (13:49 +1100)
commit9e70a453edde9571d84372ea5c13a1fab219caac
tree878994ef31c26033a982c79dafa9dcfe8d1455c3
parent81a8a6941510b28fa9d6862e6bf42bbd48ee92d3
Detail: report correct raid-disk for removed drives.

Back in
  Commit: 8057db46a15d ("Detail: fix handling of 'disks' array.")
when we doubled the size of the 'disks' array to handle primary and
replacement, we should have halved the setting of the default raid_disk
number.

Reported-by: Coly Li <colyli@suse.de>
Signed-off-by: NeilBrown <neilb@suse.com>
Detail.c