[PATCH] nfs: fix compile error in rpc_pipefs.h

J. Bruce Fields
2009-08-20T21:08:37Z

From: J. Bruce Fields <bfields@citi.umich.edu>

This include is needed for the definition of delayed_work.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
---
include/linux/sunrpc/rpc_pipe_fs.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

One possible fix. Works for me, anyway.

diff --git a/include/linux/sunrpc/rpc_pipe_fs.h b/include/linux/sunrpc/rpc_pipe_fs.h
index a92571a..cf14db9 100644
--- a/include/linux/sunrpc/rpc_pipe_fs.h
+++ b/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;
--
1.6.0.4