]> sourceware.org Git - lvm2.git/commitdiff
Change 'filler' to 'flags' in on-disk 'raw_locn' structure.
authorDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:29:42 +0000 (20:29 +0000)
committerDave Wysochanski <dwysocha@redhat.com>
Mon, 28 Jun 2010 20:29:42 +0000 (20:29 +0000)
Future patches will make use of a specific flag in the on-disk 'raw_locn'
structure to enable/disable metadata areas, and facilitate metadata
balancing.

Note that 'filler' is always set to '0' (see add_mda() - memset),
so use of this area as a non-zero flags field is a safe way to
provide future code features.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
lib/format_text/layout.h

index b023e92a69539173c73edcd5ed6119ff3e2217d9..444a5003ec92bef1892b35534f40028cf5270c27 100644 (file)
@@ -51,7 +51,7 @@ struct raw_locn {
        uint64_t offset;        /* Offset in bytes to start sector */
        uint64_t size;          /* Bytes */
        uint32_t checksum;
-       uint32_t filler;
+       uint32_t flags;
 } __attribute__ ((packed));
 
 /* On disk */
This page took 0.040179 seconds and 5 git commands to generate.