* [PATCH] nfsd: fix missing include
@ 2011-02-22 16:08 Tigran Mkrtchyan
2011-02-22 17:08 ` Benny Halevy
0 siblings, 1 reply; 2+ messages in thread
From: Tigran Mkrtchyan @ 2011-02-22 16:08 UTC (permalink / raw)
To: linux-nfs; +Cc: Tigran Mkrtchyan
I got some compile time error:
CC [M] fs/nfsd/nfs4proc.o
In file included from include/linux/nfsd/nfsd4_pnfs.h:39:0,
from include/linux/nfsd/nfs4layoutxdr.h:38,
from fs/nfsd/nfs4proc.c:37:
include/linux/nfs_xdr.h:1124:15: error: field ‘refcount’ has incomplete type
and here is my attempt to fix it
---
include/linux/nfs_xdr.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index a965f9d..e4710b0 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -5,6 +5,7 @@
#include <linux/nfs3.h>
#include <linux/nfs4.h>
#include <linux/sunrpc/sched.h>
+#include <linux/kref.h>
/*
* To change the maximum rsize and wsize supported by the NFS client, adjust
--
1.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] nfsd: fix missing include
2011-02-22 16:08 [PATCH] nfsd: fix missing include Tigran Mkrtchyan
@ 2011-02-22 17:08 ` Benny Halevy
0 siblings, 0 replies; 2+ messages in thread
From: Benny Halevy @ 2011-02-22 17:08 UTC (permalink / raw)
To: Tigran Mkrtchyan; +Cc: linux-nfs
Thanks. This pnfs specific, introduced in
c857ea8 pnfs_submit: signal layoutdriver commit
I'll fix it there...
Benny
On 2011-02-22 08:08, Tigran Mkrtchyan wrote:
> I got some compile time error:
>
> CC [M] fs/nfsd/nfs4proc.o
> In file included from include/linux/nfsd/nfsd4_pnfs.h:39:0,
> from include/linux/nfsd/nfs4layoutxdr.h:38,
> from fs/nfsd/nfs4proc.c:37:
> include/linux/nfs_xdr.h:1124:15: error: field ‘refcount’ has incomplete type
>
> and here is my attempt to fix it
> ---
> include/linux/nfs_xdr.h | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
> index a965f9d..e4710b0 100644
> --- a/include/linux/nfs_xdr.h
> +++ b/include/linux/nfs_xdr.h
> @@ -5,6 +5,7 @@
> #include <linux/nfs3.h>
> #include <linux/nfs4.h>
> #include <linux/sunrpc/sched.h>
> +#include <linux/kref.h>
>
> /*
> * To change the maximum rsize and wsize supported by the NFS client, adjust
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-22 17:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-22 16:08 [PATCH] nfsd: fix missing include Tigran Mkrtchyan
2011-02-22 17:08 ` Benny Halevy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).