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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user