1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

locking: clarify read-only locking error message v2

This commit is contained in:
Peter Rajnoha 2012-07-25 14:37:22 +02:00
parent a05ac83641
commit 81e89c0647

View File

@ -74,7 +74,7 @@ static int _readonly_lock_resource(struct cmd_context *cmd,
(flags & LCK_SCOPE_MASK) == LCK_VG &&
!(flags & LCK_CACHE) &&
strcmp(resource, VG_GLOBAL)) {
log_error("Read-only locking configured via global/locking_type setting. "
log_error("Read-only locking type set. "
"Write locks are prohibited.");
return 0;
}