public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/lib/locking no_locking.c
@ 2009-07-15  6:11 mornfall
  0 siblings, 0 replies; only message in thread
From: mornfall @ 2009-07-15  6:11 UTC (permalink / raw)
  To: lvm-devel, lvm2-cvs

CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall@sourceware.org	2009-07-15 06:11:25

Modified files:
	lib/locking    : no_locking.c 

Log message:
	Fix warning.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/no_locking.c.diff?cvsroot=lvm2&r1=1.16&r2=1.17

--- LVM2/lib/locking/no_locking.c	2009/07/15 05:49:48	1.16
+++ LVM2/lib/locking/no_locking.c	2009/07/15 06:11:25	1.17
@@ -70,7 +70,7 @@
 				   const char *resource,
 				   uint32_t flags)
 {
-	if (flags & LCK_TYPE_MASK == LCK_WRITE) {
+	if ((flags & LCK_TYPE_MASK) == LCK_WRITE) {
 		log_error("Write locks are prohibited with --ignorelockingfailure.");
 		return 0;
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-15  6:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-15  6:11 LVM2/lib/locking no_locking.c mornfall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).