hostfs: fix UML crash: remove f_spare from hostfs
authorRichard Weinberger <richard@nod.at>
Tue, 19 Oct 2010 21:27:59 +0000 (14:27 -0700)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Oct 2010 01:18:21 +0000 (21:18 -0400)
commitba10f486658c0ca1bc84c936f6a996e40d071453
tree60587bcbd860d064f41b371ac8687066e93a1060
parentd9d1dc802ffae507956ceb350eb3f4a995734f1e
hostfs: fix UML crash: remove f_spare from hostfs

365b1818 ("add f_flags to struct statfs(64)") resized f_spare within
struct statfs which caused a UML crash.  There is no need to copy f_spare.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reported-by: Toralf Förster <toralf.foerster@gmx.de>
Tested-by: Toralf Förster <toralf.foerster@gmx.de>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hostfs/hostfs.h
fs/hostfs/hostfs_kern.c
fs/hostfs/hostfs_user.c