1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-08-05 16:22:02 +03:00

sanlock: more variable structure part to the end

Move variable part so there is no need to use 'gnu' compiler extension.
This commit is contained in:
Zdenek Kabelac
2025-02-11 13:17:34 +01:00
parent e410715154
commit e9640e5178

View File

@ -153,11 +153,11 @@ struct lm_sanlock {
};
struct rd_sanlock {
struct val_blk *vb;
union {
struct sanlk_resource rs;
char buf[sizeof(struct sanlk_resource) + sizeof(struct sanlk_disk)];
};
struct val_blk *vb;
};
struct sanlk_resourced {