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:
Michal Mielewczyk 2021-12-23 14:29:41 +01:00
parent 04da4fd4ef
commit a8bdba0cb2

View File

@ -2300,9 +2300,6 @@ static void _ocf_mngt_activate_handle_error(
{
ocf_cache_t cache = context->cache;
if (context->flags.cleaner_started)
ocf_stop_cleaner(cache);
if (context->flags.promotion_initialized)
__deinit_promotion_policy(cache);