Initial INC MR3 commit with EVO/BRAVO included and majority of the compile warnings ...
/drivers/md/dm-region-hash.c
blob:36dbe29f2fd60e775b05a0c0562e4741a42a8d08 -> blob:2d1abfd1c90e8bcad46799bf3fae6f07c831c78e
--- drivers/md/dm-region-hash.c
+++ drivers/md/dm-region-hash.c
@@ -643,10 +643,9 @@ void dm_rh_recovery_end(struct dm_region
spin_lock_irq(&rh->region_lock);
if (success)
list_add(&reg->list, &reg->rh->recovered_regions);
- else {
- reg->state = DM_RH_NOSYNC;
+ else
list_add(&reg->list, &reg->rh->failed_recovered_regions);
- }
+
spin_unlock_irq(&rh->region_lock);
rh->wakeup_workers(rh->context);