Skip to contentSkip to conversation

Locking type do not use ignorelockingfailure, fix message.

PATCH New Milan Broz 2 participants 2 messages Jan 21, 2010

lore
Share & tools
lore

Milan Broz

author
#0 lore raw

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
index 85374b3..9de143b 100644
@@ -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
#1 lore raw

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
index 85374b3..9de143b 100644

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.