]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Fix some issues with setting 'new' state of a reshape
authorNeilBrown <neilb@suse.de>
Tue, 25 Jan 2011 22:47:06 +0000 (08:47 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 25 Jan 2011 22:50:28 +0000 (08:50 +1000)
commitf897078e8b250d1534a31e111e3168e82bfe532b
tree6eda05f2d5c69c07b57cb7a12e213c2f8e7e2006
parent1cc7f4feb9a979fdf7ac4bb06e5632b065d4f4d9
Fix some issues with setting 'new' state of a reshape

- when reshaping a container, ->reshape_active is already set
  even though it isn't really active yet, so we need to set
  the new geometry even when reshape_active is set.  This is safe.

- When restarting a reshape, make sure the reshape_position is set
  appropriately when external metadata is used.

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