lkml.org 
[lkml]   [2008]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 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"

    \
     
     \ /
      Last update: 2008-02-09 01:09    [W:0.029 / U:60.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site