Commit 6966a97753854c8b5336cf3997d5d1d205d91b12

Authored by Jiri Kosina
Committed by Linus Torvalds
1 parent 880cdf3a81

UML: fix hostfs build

/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c: In function 'hostfs_show_options':
/home/bunk/linux/kernel-2.6/git/linux-2.6/fs/hostfs/hostfs_kern.c:328: error: dereferencing pointer to incomplete type

We need to include mount.h to get vfsmount.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Reported-by: Adrian Bunk <bunk@stusta.de>
Cc: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

fs/hostfs/hostfs_kern.c
... ... @@ -12,6 +12,7 @@
12 12 #include <linux/pagemap.h>
13 13 #include <linux/statfs.h>
14 14 #include <linux/seq_file.h>
  15 +#include <linux/mount.h>
15 16 #include "hostfs.h"
16 17 #include "init.h"
17 18 #include "kern.h"