Skip to contentSkip to conversation

master - cleanup: use matching flags for permissions

PATCH Zdenek Kabelac 1 participant 1 message Oct 24, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9a6758e953a83aeb1d384df97c6f18b542c569a2
Commit:        9a6758e953a83aeb1d384df97c6f18b542c569a2
Parent:        37bd12e7ba60e5e6654d7edd912d011328401a21
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Oct 24 13:07:02 2014 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Fri Oct 24 16:39:31 2014 +0200

cleanup: use matching flags for permissions

Since our status bits are 64b - use uint64_t for permissions.

---
 lib/metadata/metadata-exported.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
lib/metadata/metadata-exported.h +1 -1
index 1af9cbf..cfc0ce2 100644
@@ -856,7 +856,7 @@ struct lvcreate_params {
 	uint64_t pool_metadata_size; /* pools */
 	struct dm_list *pvh; /* all */
 
-	uint32_t permission; /* all */
+	uint64_t permission; /* all */
 	uint32_t read_ahead; /* all */
 	int approx_alloc;     /* all */
 	alloc_policy_t alloc; /* all */