Blame SOURCES/lvm2-2_02_187-pvmove-detect-exclusively-active-LVs.patch

b83e05
 tools/pvmove.c | 3 ++-
b83e05
 1 file changed, 2 insertions(+), 1 deletion(-)
b83e05
b83e05
diff --git a/tools/pvmove.c b/tools/pvmove.c
b83e05
index 3a447c4..cecff00 100644
b83e05
--- a/tools/pvmove.c
b83e05
+++ b/tools/pvmove.c
b83e05
@@ -397,7 +397,8 @@ static struct logical_volume *_set_up_pvmove_lv(struct cmd_context *cmd,
b83e05
 			/* Presence of exclusive LV decides whether pvmove must be also exclusive */
b83e05
 			if (!seg_only_exclusive(seg)) {
b83e05
 				holder = lv_lock_holder(lv);
b83e05
-				if (seg_only_exclusive(first_seg(holder)) || lv_is_origin(holder) || lv_is_cow(holder))
b83e05
+				if (seg_only_exclusive(first_seg(holder)) || lv_is_origin(holder) ||
b83e05
+				    lv_is_cow(holder) || lv_is_active_exclusive(holder))
b83e05
 					needs_exclusive = 1;
b83e05
 			} else
b83e05
 				needs_exclusive = 1;