linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benny Halevy <bhalevy@panasas.com>
To: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfsd: fix missing include
Date: Tue, 22 Feb 2011 09:08:04 -0800	[thread overview]
Message-ID: <4D63ED74.1080502@panasas.com> (raw)
In-Reply-To: <1298390923-6547-1-git-send-email-tigran.mkrtchyan@desy.de>

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

      reply	other threads:[~2011-02-22 17:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 16:08 [PATCH] nfsd: fix missing include Tigran Mkrtchyan
2011-02-22 17:08 ` Benny Halevy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D63ED74.1080502@panasas.com \
    --to=bhalevy@panasas.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=tigran.mkrtchyan@desy.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).