1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Align struct memblock in dbg_malloc for sparc.

This commit is contained in:
Alasdair Kergon 2008-06-25 14:10:33 +00:00
parent f0597a03de
commit 723be0fe69
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.27 -
===============================
Align struct memblock in dbg_malloc for sparc.
Add --unquoted and --rows to dmsetup.
Avoid compiler warning about cast in dmsetup.c's OFFSET_OF macro.
Fix inverted no_flush debug message.

View File

@ -40,7 +40,7 @@ struct memblock {
const char *file; /* File that allocated */
int line; /* Line that allocated */
void *magic; /* Address of this block */
};
} __attribute__((aligned(8)));
static struct {
unsigned block_serialno;/* Non-decreasing serialno of block */