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>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:

committed by
Linus Torvalds

parent
de5e2ddf9b
commit
1b627d5771
@@ -91,7 +91,6 @@ extern int rename_file(char *from, char *to);
|
||||
extern int do_statfs(char *root, long *bsize_out, long long *blocks_out,
|
||||
long long *bfree_out, long long *bavail_out,
|
||||
long long *files_out, long long *ffree_out,
|
||||
void *fsid_out, int fsid_size, long *namelen_out,
|
||||
long *spare_out);
|
||||
void *fsid_out, int fsid_size, long *namelen_out);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user