Message ID | 1470662013-19785-2-git-send-email-famz@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/include/block/block.h b/include/block/block.h index 11c162d..4f8450b 100644 --- a/include/block/block.h +++ b/include/block/block.h @@ -97,6 +97,8 @@ typedef struct HDGeometry { select an appropriate protocol driver, ignoring the format layer */ #define BDRV_O_NO_IO 0x10000 /* don't initialize for I/O */ +#define BDRV_O_NO_LOCK 0x20000 /* don't lock image file */ +#define BDRV_O_SHARED_LOCK 0x40000 /* lock the image file in shared mode */ #define BDRV_O_CACHE_MASK (BDRV_O_NOCACHE | BDRV_O_NO_FLUSH)