[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [lvm-devel] [PATCH] Locking type do not use ignorelockingfailure, fix message.



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]