1
0
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:
David Teigland 2015-08-19 11:43:39 -05:00
parent 9c5a85ce24
commit ce2e60ab45

View File

@ -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: