[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0802090102590.30873@twin.jikos.cz>
Date: Sat, 9 Feb 2008 01:05:15 +0100 (CET)
From: Jiri Kosina <jkosina@...e.cz>
To: Adrian Bunk <bunk@...nel.org>
cc: Miklos Szeredi <mszeredi@...e.cz>, jdike@...toit.com,
user-mode-linux-devel@...ts.sourceforge.net,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
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@...e.cz>
UML: fix hostfs build
We need to include mount.h to get vfsmount.
Signed-off-by: Jiri Kosina <jkosina@...e.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"
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists