Messages in this thread |  | | | Subject | Re: [PATCH -mmotm] nfs/cache_lib: fix sunrpc struct build error | | From | Trond Myklebust <> | | Date | Fri, 21 Aug 2009 13:51:12 -0400 |
| |
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
|  |