Add number of nodes to bitmap structure for clustering
authorGoldwyn Rodrigues <rgoldwyn@suse.com>
Fri, 7 Mar 2014 16:30:43 +0000 (10:30 -0600)
committerGoldwyn Rodrigues <rgoldwyn@suse.com>
Mon, 23 Feb 2015 13:28:30 +0000 (07:28 -0600)
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
drivers/md/bitmap.h

index 30210b9c4ef972e8ee1fcb79866f2c62d551c5d2..f4e53eadb083b28d138878ae2d561abc8043153a 100644 (file)
@@ -131,7 +131,8 @@ typedef struct bitmap_super_s {
        __le32 sectors_reserved; /* 64 number of 512-byte sectors that are
                                  * reserved for the bitmap. */
 
-       __u8  pad[256 - 68]; /* set to zero */
+       __le32 nodes;        /* 68 the maximum number of nodes in cluster. */
+       __u8  pad[256 - 72]; /* set to zero */
 } bitmap_super_t;
 
 /* notes: