Locking type do not use ignorelockingfailure, fix message.
PATCH 1/1 Locking type do not use ignorelockingfailure, fix message.
--- lib/locking/no_locking.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/locking/no_locking.c +1 -1
@@ -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 ; }
Signature · 1 line
1.6.6
PATCH 1/1 Locking type do not use ignorelockingfailure, fix message.
Quoted 9 lines · Milan Broz
--- lib/locking/no_locking.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)lib/locking/no_locking.c +0
-0
lib/locking/no_locking.c static int _readonly_lock_resource(struct cmd_context *cmd, · line 78
Quoted 8 lines
lib/locking/no_locking.c +1
-1@@ -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.