mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +03:00
locking: fix cluster locking
Hunk missed from last commit 78533f72d30f6e840f66e0aae89126ef139c1f2c.
This commit is contained in:
parent
78533f72d3
commit
c1c2e838e8
@ -425,6 +425,8 @@ static int _lock_resource(struct cmd_context *cmd, const char *resource,
|
||||
assert(resource);
|
||||
|
||||
switch (flags & LCK_SCOPE_MASK) {
|
||||
case LCK_ACTIVATION:
|
||||
return 1;
|
||||
case LCK_VG:
|
||||
if (!strcmp(resource, VG_SYNC_NAMES)) {
|
||||
log_very_verbose("Requesting sync names.");
|
||||
|
Loading…
x
Reference in New Issue
Block a user