lkml.org 
[lkml]   [2009]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH -mmotm] nfs/cache_lib: fix sunrpc struct build error
    From
    Date
    On Fri, 2009-08-21 at 09:57 -0700, Randy Dunlap wrote:
    > From: Randy Dunlap <randy.dunlap@oracle.com>
    >
    > Add header file for struct delayed_work:
    >
    > In file included from fs/nfs/cache_lib.c:14:
    > include/linux/sunrpc/rpc_pipe_fs.h:35: error: field 'queue_timeout' has incomplete type
    >
    > Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
    > ---
    > include/linux/sunrpc/rpc_pipe_fs.h | 2 ++
    > 1 file changed, 2 insertions(+)
    >
    > --- mmotm-2009-0820-1918.orig/include/linux/sunrpc/rpc_pipe_fs.h
    > +++ mmotm-2009-0820-1918/include/linux/sunrpc/rpc_pipe_fs.h
    > @@ -3,6 +3,8 @@
    >
    > #ifdef __KERNEL__
    >
    > +#include <linux/workqueue.h>
    > +
    > struct rpc_pipe_msg {
    > struct list_head list;
    > void *data;

    Thanks Randy! Bruce Fields beat you to this bug by a few hours, so I've
    already applied his fix. It should hit linux-next et al today.

    Cheers
    Trond

    --
    Trond Myklebust
    Linux NFS client maintainer

    NetApp
    Trond.Myklebust@netapp.com
    www.netapp.com


    \
     
     \ /
      Last update: 2009-08-21 19:53    [W:0.026 / U:0.012 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site