]> git.hungrycats.org Git - linux/commit
[PATCH] statfs64 fix
authorAndrew Morton <akpm@osdl.org>
Mon, 29 Dec 2003 13:49:29 +0000 (05:49 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 29 Dec 2003 13:49:29 +0000 (05:49 -0800)
commitdce807770035b3b6d06f6d9317a336cf21a7b26a
tree5eff61ad5fb1a6c865cdf22686bef383317bfa70
parent85734c4777ef9ea13f46fcc5d666b4e662197878
[PATCH] statfs64 fix

From: Andi Kleen <ak@muc.de>

It fixes the statfs64 emulation on x86-64.  The problem is that x86-64
needs an __attribute__((aligned)) on the compat_statfs64 structure.  The
conclusion last time this was discussed was that the structure should be
duplicated.

Essentially it is the old shared structure copied to every user and x86-64
uses __attribute__((packed)).
include/asm-generic/statfs.h
include/asm-ia64/statfs.h
include/asm-mips/statfs.h
include/asm-parisc/statfs.h
include/asm-ppc64/statfs.h
include/asm-s390/statfs.h
include/asm-sparc64/statfs.h
include/asm-x86_64/statfs.h
include/linux/compat.h