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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux