]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: allow auto-readonly arrays to be reshaped.
authorNeilBrown <neilb@suse.de>
Tue, 10 May 2011 03:09:37 +0000 (13:09 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 10 May 2011 03:09:37 +0000 (13:09 +1000)
commit815c8a7e0b11b69331211b59b880ba50f3ed2b5e
treeb61784eefd715513ab11ef8103d1efb20e57804a
parent621ea11b58562fff53d75fc343727c8007edba77
Grow: allow auto-readonly arrays to be reshaped.

In an array is auto-readonly then a reshape will not start.
But auto-readonly is only wanted until something is explicitly
done to acknowledge that the array is really wanted.
So it is perfectly correct to switch an auto-readonly array to
'clean' if a reshape has been requested.

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