LVM2/lib/locking locking.h
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)
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)