mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
lvmlockd: change log_error to log_debug for non error
It's not uncommon for a command like vgchange -an to deactivate and unlock LVs that were not active, so don't lock that as an error.
This commit is contained in:
parent
9c5a85ce24
commit
ce2e60ab45
@ -1283,7 +1283,7 @@ static int res_unlock(struct lockspace *ls, struct resource *r,
|
||||
}
|
||||
|
||||
if (act->op != LD_OP_CLOSE)
|
||||
log_error("S %s R %s res_unlock no locks", ls->name, r->name);
|
||||
log_debug("S %s R %s res_unlock no locks", ls->name, r->name);
|
||||
return -ENOENT;
|
||||
|
||||
do_unlock:
|
||||
|
Loading…
x
Reference in New Issue
Block a user