[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH v2 3/7] lock_driver.h: Introduce metadata flag



Signed-off-by: Michal Privoznik <mprivozn redhat com>
---
 src/locking/lock_driver.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/locking/lock_driver.h b/src/locking/lock_driver.h
index 8b7cccc521..7c8f79520a 100644
--- a/src/locking/lock_driver.h
+++ b/src/locking/lock_driver.h
@@ -56,6 +56,8 @@ typedef enum {
     VIR_LOCK_MANAGER_RESOURCE_READONLY = (1 << 0),
     /* The resource is assigned in shared, writable mode */
     VIR_LOCK_MANAGER_RESOURCE_SHARED   = (1 << 1),
+    /* The resource is locked for metadata change */
+    VIR_LOCK_MANAGER_RESOURCE_METADATA = (1 << 2),
 } virLockManagerResourceFlags;
 
 typedef enum {
-- 
2.16.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]