
From: Andi Kleen <ak@muc.de>

Without this the structure used by the compat comes out different than
32bit glibc's on x86-64.  I don't quite understand why I must admit.

This fixes recent 32bit Debian which uses a very new glibc which uses
statfs64() on a x86-64 kernel



 include/linux/compat.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN include/linux/compat.h~x86_64-statfs64-fix include/linux/compat.h
--- 25/include/linux/compat.h~x86_64-statfs64-fix	2003-11-23 15:22:54.000000000 -0800
+++ 25-akpm/include/linux/compat.h	2003-11-23 15:22:54.000000000 -0800
@@ -88,7 +88,7 @@ struct compat_statfs64 {
 	__u32 f_namelen;
 	__u32 f_frsize;
 	__u32 f_spare[5];
-};
+} __attribute__((packed));
 
 struct compat_dirent {
 	u32		d_ino;

_
