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

From: Trond Myklebust
Date: Fri Aug 21 2009 - 13:51:26 EST


On Fri, 2009-08-21 at 09:57 -0700, Randy Dunlap wrote:
> 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;

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@xxxxxxxxxx
www.netapp.com
--
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/