Messages in this thread Patch in this message | | | Date | Sat, 9 Feb 2008 01:05:15 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: uml compile error |
| |
On Sat, 9 Feb 2008, Adrian Bunk wrote:
> Commit dd2cc4dff3b08ab54c4c177a080046bcc84ac41d broke uml: > <-- snip --> > ... > CC fs/hostfs/hostfs_kern.o > /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 > make[3]: *** [fs/hostfs/hostfs_kern.o] Error 1
I guess we need this one?
From: Jiri Kosina <jkosina@suse.cz>
UML: fix hostfs build
We need to include mount.h to get vfsmount.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
diff --git a/fs/hostfs/hostfs_kern.c b/fs/hostfs/hostfs_kern.c index d0549cb..5222345 100644 --- a/fs/hostfs/hostfs_kern.c +++ b/fs/hostfs/hostfs_kern.c @@ -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"
| |