summaryrefslogtreecommitdiffstats
path: root/lib/format_pool/disk_rep.h
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2005-02-09 17:49:36 +0000
committerAlasdair Kergon <agk@redhat.com>2005-02-09 17:49:36 +0000
commitf1b2dad43521fa59922a35a32bff62bfee19db7c (patch)
tree422b1cace36b7cb258ad7b0968d753e2d6e9bc02 /lib/format_pool/disk_rep.h
parent6b71063b6db6842fdad1928c3953dce1b5e54a52 (diff)
downloadlvm2-f1b2dad43521fa59922a35a32bff62bfee19db7c.tar.gz
lvm2-f1b2dad43521fa59922a35a32bff62bfee19db7c.tar.xz
lvm2-f1b2dad43521fa59922a35a32bff62bfee19db7c.zip
Add fixed offset to imported pool minor numbers.
Diffstat (limited to 'lib/format_pool/disk_rep.h')
-rw-r--r--lib/format_pool/disk_rep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/format_pool/disk_rep.h b/lib/format_pool/disk_rep.h
index bf8983b6..748e8842 100644
--- a/lib/format_pool/disk_rep.h
+++ b/lib/format_pool/disk_rep.h
@@ -20,6 +20,8 @@
#include "metadata.h"
#include "pool.h"
+#define MINOR_OFFSET 65536
+
/* From NSP.cf */
#define NSPMajorVersion 4
#define NSPMinorVersion 1