Searched hist:ed9bfdf1 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | raid10.c | ed9bfdf1 Thu Oct 15 23:55:44 CDT 2009 NeilBrown <neilb@suse.de> md: raid1/raid10: handle allocation errors during array setup.
Both raid1 and raid10 create a mempool during startup. If the 'alloc' function for this mempool fails, unplug_slaves is called. If that happens when the pool is being initialised, unplug_slaves will try to use the 'conf' structure that isn't filled in yet, and badness will happen.
So ensure that unplug_slaves doesn't get called unless we know that the conf structure if fully initialised.
Signed-off-by: NeilBrown <neilb@suse.de> ed9bfdf1 Thu Oct 15 23:55:44 CDT 2009 NeilBrown <neilb@suse.de> md: raid1/raid10: handle allocation errors during array setup. Both raid1 and raid10 create a mempool during startup. If the 'alloc' function for this mempool fails, unplug_slaves is called. If that happens when the pool is being initialised, unplug_slaves will try to use the 'conf' structure that isn't filled in yet, and badness will happen. So ensure that unplug_slaves doesn't get called unless we know that the conf structure if fully initialised. Signed-off-by: NeilBrown <neilb@suse.de>
|
H A D | raid1.c | ed9bfdf1 Thu Oct 15 23:55:44 CDT 2009 NeilBrown <neilb@suse.de> md: raid1/raid10: handle allocation errors during array setup.
Both raid1 and raid10 create a mempool during startup. If the 'alloc' function for this mempool fails, unplug_slaves is called. If that happens when the pool is being initialised, unplug_slaves will try to use the 'conf' structure that isn't filled in yet, and badness will happen.
So ensure that unplug_slaves doesn't get called unless we know that the conf structure if fully initialised.
Signed-off-by: NeilBrown <neilb@suse.de> ed9bfdf1 Thu Oct 15 23:55:44 CDT 2009 NeilBrown <neilb@suse.de> md: raid1/raid10: handle allocation errors during array setup. Both raid1 and raid10 create a mempool during startup. If the 'alloc' function for this mempool fails, unplug_slaves is called. If that happens when the pool is being initialised, unplug_slaves will try to use the 'conf' structure that isn't filled in yet, and badness will happen. So ensure that unplug_slaves doesn't get called unless we know that the conf structure if fully initialised. Signed-off-by: NeilBrown <neilb@suse.de>
|