This is the mail archive of the lvm2-cvs@sourceware.org mailing list for the LVM2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

LVM2/lib/locking locking.h


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	agk@sourceware.org	2007-11-15 02:55:22

Modified files:
	lib/locking    : locking.h 

Log message:
	define LCK_NONE for cases when vg_lock_and_read already holds lock
	(temporary - library will use internal ref counting instead)

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/locking/locking.h.diff?cvsroot=lvm2&r1=1.35&r2=1.36

--- LVM2/lib/locking/locking.h	2007/08/23 15:02:26	1.35
+++ LVM2/lib/locking/locking.h	2007/11/15 02:55:22	1.36
@@ -86,6 +86,8 @@
 /*
  * Common combinations
  */
+#define LCK_NONE		0
+
 #define LCK_VG_READ		(LCK_VG | LCK_READ | LCK_HOLD)
 #define LCK_VG_WRITE		(LCK_VG | LCK_WRITE | LCK_HOLD)
 #define LCK_VG_UNLOCK		(LCK_VG | LCK_UNLOCK)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]