[lvm-devel] master - cleanup: use matching flags for permissions

Zdenek Kabelac zkabelac at fedoraproject.org
Fri Oct 24 14:40:49 UTC 2014


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=9a6758e953a83aeb1d384df97c6f18b542c569a2
Commit:        9a6758e953a83aeb1d384df97c6f18b542c569a2
Parent:        37bd12e7ba60e5e6654d7edd912d011328401a21
Author:        Zdenek Kabelac <zkabelac at redhat.com>
AuthorDate:    Fri Oct 24 13:07:02 2014 +0200
Committer:     Zdenek Kabelac <zkabelac at redhat.com>
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(-)

diff --git a/lib/metadata/metadata-exported.h b/lib/metadata/metadata-exported.h
index 1af9cbf..cfc0ce2 100644
--- a/lib/metadata/metadata-exported.h
+++ b/lib/metadata/metadata-exported.h
@@ -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 */




More information about the lvm-devel mailing list