Re: uml compile error

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Kosina
Date: Friday, February 8, 2008 - 5:05 pm

On Sat, 9 Feb 2008, Adrian Bunk wrote:


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"
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
uml compile error, Adrian Bunk, (Fri Feb 8, 3:32 pm)
Re: uml compile error, Jiri Kosina, (Fri Feb 8, 5:05 pm)
Re: uml compile error, Adrian Bunk, (Fri Feb 8, 5:25 pm)
Re: uml compile error, Rafael J. Wysocki, (Wed Feb 13, 3:24 pm)
Re: uml compile error, Adrian Bunk, (Wed Feb 13, 3:28 pm)