* [PATCH] Locking type do not use ignorelockingfailure, fix message.
@ 2010-01-21 16:15 Milan Broz
2010-01-21 17:27 ` Dave Wysochanski
0 siblings, 1 reply; 2+ messages in thread
From: Milan Broz @ 2010-01-21 16:15 UTC (permalink / raw)
To: lvm-devel
---
lib/locking/no_locking.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/locking/no_locking.c b/lib/locking/no_locking.c
index 85374b3..9de143b 100644
--- a/lib/locking/no_locking.c
+++ b/lib/locking/no_locking.c
@@ -72,7 +72,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("Write locks are prohibited with --ignorelockingfailure.");
+ log_error("Write locks are prohibited with read-only locking.");
return 0;
}
--
1.6.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] Locking type do not use ignorelockingfailure, fix message.
2010-01-21 16:15 [PATCH] Locking type do not use ignorelockingfailure, fix message Milan Broz
@ 2010-01-21 17:27 ` Dave Wysochanski
0 siblings, 0 replies; 2+ messages in thread
From: Dave Wysochanski @ 2010-01-21 17:27 UTC (permalink / raw)
To: lvm-devel
On Thu, 2010-01-21 at 17:15 +0100, Milan Broz wrote:
> ---
> lib/locking/no_locking.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/lib/locking/no_locking.c b/lib/locking/no_locking.c
> index 85374b3..9de143b 100644
> --- a/lib/locking/no_locking.c
> +++ b/lib/locking/no_locking.c
> @@ -72,7 +72,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("Write locks are prohibited with --ignorelockingfailure.");
> + log_error("Write locks are prohibited with read-only locking.");
> return 0;
> }
>
Ack.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-21 17:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-21 16:15 [PATCH] Locking type do not use ignorelockingfailure, fix message Milan Broz
2010-01-21 17:27 ` Dave Wysochanski
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.