Message ID | 1380220979-14761-1-git-send-email-bhalevy@primarydata.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Thu, Sep 26, 2013 at 02:42:59PM -0400, Benny Halevy wrote: > From: Benny Halevy <bhalevy@panasas.com> > > Include headers in nfs_xdr.h required for > struct rpc_task, nfs4_verifier, nfs4_stateid Is this actually dereferences or would it need a forward declaration? Also should go to Trond straight outside of this series. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 2013-09-29 15:19, Christoph Hellwig wrote: > On Thu, Sep 26, 2013 at 02:42:59PM -0400, Benny Halevy wrote: >> From: Benny Halevy <bhalevy@panasas.com> >> >> Include headers in nfs_xdr.h required for >> struct rpc_task, nfs4_verifier, nfs4_stateid > > Is this actually dereferences or would it need a forward declaration? > > Also should go to Trond straight outside of this series. Hmm, I thought I already replied to this, but I don't see my reply, so here it is :) I consulted with Trond about this and there's a better way to get the definition here by including linux/nfs4.h that doesn't require the nfs_xdr.h baggage. So this patch is dropped from the next version. Benny > > -- > To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 01fd84b..93cbda7 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -3,6 +3,10 @@ #include <linux/nfsacl.h> #include <linux/sunrpc/gss_api.h> +#include <linux/nfs.h> +#include <linux/nfs3.h> +#include <linux/nfs4.h> +#include <linux/sunrpc/sched.h> /* * To change the maximum rsize and wsize supported by the NFS client, adjust