]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libblkid: (drbd) simplify padding
authorKarel Zak <kzak@redhat.com>
Mon, 15 Jul 2019 10:07:42 +0000 (12:07 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Jul 2019 10:07:42 +0000 (12:07 +0200)
commit5c8a88356d436f6a87e2c40347dd19d6f5b50198
tree34183f9e7d0e9f81db4e3a59d68589bfe845c104
parent6744302ce5b23ef19d7cfaa20cb53d27642ea8ac
libblkid: (drbd) simplify padding

We do not need all the metadata and it seems the extra padding is
problematic in some cases. Let's keep is simple and use fixed offset
for the metadata rather than sizeof().

References: https://github.com/karelzak/util-linux/pull/820
Signed-off-by: Karel Zak <kzak@redhat.com>
libblkid/src/superblocks/drbd.c