Don't stop cleaner in activate rollback
Activate is not responsible for starting cleaner so rollback shouldn't stop it eiter. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
parent
04da4fd4ef
commit
a8bdba0cb2
@ -2300,9 +2300,6 @@ static void _ocf_mngt_activate_handle_error(
|
|||||||
{
|
{
|
||||||
ocf_cache_t cache = context->cache;
|
ocf_cache_t cache = context->cache;
|
||||||
|
|
||||||
if (context->flags.cleaner_started)
|
|
||||||
ocf_stop_cleaner(cache);
|
|
||||||
|
|
||||||
if (context->flags.promotion_initialized)
|
if (context->flags.promotion_initialized)
|
||||||
__deinit_promotion_policy(cache);
|
__deinit_promotion_policy(cache);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user