[PATCH -mmotm] nfs/cache_lib: fix sunrpc struct build error

From: Randy Dunlap
Date: Fri Aug 21 2009 - 12:56:56 EST


From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
---
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;



---
~Randy
LPC 2009, Sept. 23-25, Portland, Oregon
http://linuxplumbersconf.org/2009/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/