UML: fix hostfs build
authorJiri Kosina <[email protected]>
Sat, 9 Feb 2008 08:10:14 +0000 (00:10 -0800)
committerLinus Torvalds <[email protected]>
Sat, 9 Feb 2008 19:08:33 +0000 (11:08 -0800)
/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 <[email protected]>
Reported-by: Adrian Bunk <[email protected]>
Cc: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/hostfs/hostfs_kern.c

index d0549cb4fb23640a79d0221262b14742b5c1a468..5222345ddccf6525a13cd74fe801da1bde50a304 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/pagemap.h>
 #include <linux/statfs.h>
 #include <linux/seq_file.h>
+#include <linux/mount.h>
 #include "hostfs.h"
 #include "init.h"
 #include "kern.h"