md: clear layout after ->raid0 takeover
authorMaciej Trela <maciej.trela@intel.com>
Wed, 16 Jun 2010 10:55:14 +0000 (11:55 +0100)
committerNeilBrown <neilb@suse.de>
Thu, 24 Jun 2010 03:34:45 +0000 (13:34 +1000)
commit001048a318d48e93cb6a1246f3b20335b2a7c855
tree82a90465d46b9f495ceee52ef24dee9ada3a9827
parentf73ea87375a1b2bf6c0be82bb9a3cb9d5ee7a407
md: clear layout after ->raid0 takeover

After takeover from raid5/10 -> raid0 mddev->layout is not cleared.

Signed-off-by: Maciej Trela <maciej.trela@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid0.c