Since LV for caching can be already a stacked LV, proper activation
needs to use lock holding LV.
Version 2.02.178 -
=====================================
+ Activate correct lock holding LV when it is cached.
Do not modify archived metadata when removing striped raid.
Fix memleak on error path when obtaining lv_raid_data_offset.
Fix compatibility size test of extended external origin.
return_0; /* FIXME */
/* Put origin into resulting activation state first */
+ lv = (struct logical_volume *)lv_lock_holder(lv);
+
if (is_change_activating(lp->activate)) {
if ((lp->activate == CHANGE_AAY) &&
!lv_passes_auto_activation_filter(cmd, lv)) {