diff --git a/WHATS_NEW b/WHATS_NEW index b8a9bf784..2bf95d21e 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.104 - =================================== + Return proper error state for remote exclusive activation. Fix missing lvmetad scan for PVs found on MD partitions. Respect DM_UDEV_DISABLE_OTHER_RULES_FLAG in lvmetad udev rules. Fix clvmd message verification to not reject REMOTE flag. (2.02.100) diff --git a/lib/locking/locking.c b/lib/locking/locking.c index 9183ee68e..9433e4027 100644 --- a/lib/locking/locking.c +++ b/lib/locking/locking.c @@ -559,10 +559,10 @@ int activate_lv_excl(struct cmd_context *cmd, struct logical_volume *lv) return 1; /* FIXME Deal with error return codes. */ - if (activate_lv_excl_remote(cmd, lv)) - stack; + if (!activate_lv_excl_remote(cmd, lv)) + return_0; - return lv_is_active_exclusive(lv); + return 1; } /* Lock a list of LVs */