Skip to contentSkip to conversation

device-mapper ./WHATS_NEW lib/mm/dbg_malloc.c

PATCH [email protected] 1 participant 1 message Jun 25, 2008 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: device-mapper
Changes by: [email protected] 2008-06-25 14:10:34

Modified files:
. : WHATS_NEW
lib/mm : dbg_malloc.c

Log message:
Align struct memblock in dbg_malloc for sparc.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/WHATS_NEW.diff?cvsroot=dm&r1=1.244&r2=1.245
http://sourceware.org/cgi-bin/cvsweb.cgi/device-mapper/lib/mm/dbg_malloc.c.diff?cvsroot=dm&r1=1.11&r2=1.12

WHATS_NEW +1 -0
@@ -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.
lib/mm/dbg_malloc.c +1 -1
@@ -40,7 +40,7 @@
 	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 */