]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: fix --layout=preserve to match man page.
authorNeilBrown <neilb@suse.de>
Tue, 15 May 2012 01:59:40 +0000 (11:59 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 15 May 2012 01:59:40 +0000 (11:59 +1000)
commit385167f364122c9424aa3d56f00b8c0874ce78b8
treedcd48bdbc3743b69ad99f731f14857c03e2d65ce
parentd9751e06a601b5576b1b9e2c8126584083110ca5
Grow: fix --layout=preserve to match man page.

I think there was some confusion about what --layout=preserve
actually means, but in any case it wasn't doing what the man
page says it should.
So add some case analysis and make sure it does the right thing,
or complains if it cannot.

Reported-by: Patrik HornĂ­k <patrik@dsl.sk>
Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c