From c6f8ef38144bbbcd6eb90ddb793ce19c61253153 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Thu, 15 Nov 2007 02:55:22 +0000 Subject: [PATCH] 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 ++ 1 file changed, 2 insertions(+) diff --git a/lib/locking/locking.h b/lib/locking/locking.h index 051f6775e..854ff1004 100644 --- a/lib/locking/locking.h +++ b/lib/locking/locking.h @@ -86,6 +86,8 @@ int check_lvm1_vg_inactive(struct cmd_context *cmd, const char *vgname); /* * 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)