]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Detail.c
mdadm --detail was incorrect for shrinking reshapes
authorAndrew Burgess <aab@cichlid.com>
Thu, 23 Jun 2011 01:48:03 +0000 (11:48 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 23 Jun 2011 01:48:03 +0000 (11:48 +1000)
commitc281a8041977cdd4bd7eaed4e1fbead50b5640e6
tree2a5d2e1474a34b45fcf3da43bf2f87a559a8bf62
parentc0672664bffbca34f2c38ad25e4321d70e6845c1
mdadm --detail was incorrect for shrinking reshapes

Since info->delta_disks is signed it doesn't need to be special-cased.

This allowed my 9->8 reshape to display correctly instead of as 8->7

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