1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

locking: fix cluster locking

Hunk missed from last commit 78533f72d3.
This commit is contained in:
Alasdair G Kergon 2014-06-20 16:38:48 +01:00
parent 78533f72d3
commit c1c2e838e8

View File

@ -425,6 +425,8 @@ static int _lock_resource(struct cmd_context *cmd, const char *resource,
assert(resource); assert(resource);
switch (flags & LCK_SCOPE_MASK) { switch (flags & LCK_SCOPE_MASK) {
case LCK_ACTIVATION:
return 1;
case LCK_VG: case LCK_VG:
if (!strcmp(resource, VG_SYNC_NAMES)) { if (!strcmp(resource, VG_SYNC_NAMES)) {
log_very_verbose("Requesting sync names."); log_very_verbose("Requesting sync names.");