summaryrefslogtreecommitdiffstats
path: root/lib/label/label.h
diff options
context:
space:
mode:
authorPatrick Caulfield <pcaulfie@redhat.com>2001-12-14 13:15:15 +0000
committerPatrick Caulfield <pcaulfie@redhat.com>2001-12-14 13:15:15 +0000
commit515df8784ab9c3cf7e5db7620da99cc851fa10ac (patch)
tree322392926057aaa3efed0f70d0f1ca6affbf5595 /lib/label/label.h
parent6b4657e81ffb68c8deabbd24a6ede9cb1ec7d850 (diff)
downloadlvm2-515df8784ab9c3cf7e5db7620da99cc851fa10ac.tar.gz
lvm2-515df8784ab9c3cf7e5db7620da99cc851fa10ac.tar.xz
lvm2-515df8784ab9c3cf7e5db7620da99cc851fa10ac.zip
Write the location of both labels in the labels so we can check them. I don't do
much with this ATM (apart from check that they all match up). Use a different CRC routine.
Diffstat (limited to 'lib/label/label.h')
-rw-r--r--lib/label/label.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/label/label.h b/lib/label/label.h
index 0850f4cc..8c64a46e 100644
--- a/lib/label/label.h
+++ b/lib/label/label.h
@@ -8,6 +8,8 @@ struct label
{
uint32_t magic;
uint32_t crc;
+ uint64_t label1_loc;
+ uint64_t label2_loc;
uint16_t datalen;
char disk_type[32];