mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-02 01:18:26 +03:00
parent
78533f72d3
commit
c1c2e838e8
@ -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.");
|
||||||
|
Loading…
Reference in New Issue
Block a user