Skip to contentSkip to conversation

LVM2/lib/locking locking.h

PATCH [email protected] 1 participant 1 message Nov 15, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk at 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

lib/locking/locking.h +2 -0
@@ -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)