linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Define op_iattr for nfsd4_open instead using macro
@ 2013-12-05  2:41 Kinglong Mee
  2013-12-05 14:56 ` J. Bruce Fields
  0 siblings, 1 reply; 2+ messages in thread
From: Kinglong Mee @ 2013-12-05  2:41 UTC (permalink / raw)
  To: J. Bruce Fields; +Cc: linux-nfs


Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
 fs/nfsd/xdr4.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
index b3ed644..e603cdd 100644
--- a/fs/nfsd/xdr4.h
+++ b/fs/nfsd/xdr4.h
@@ -228,7 +228,7 @@ struct nfsd4_open {
 	u32		op_create;     	    /* request */
 	u32		op_createmode;      /* request */
 	u32		op_bmval[3];        /* request */
-	struct iattr	iattr;              /* UNCHECKED4, GUARDED4, EXCLUSIVE4_1 */
+	struct iattr	op_iattr;           /* UNCHECKED4, GUARDED4, EXCLUSIVE4_1 */
 	nfs4_verifier	op_verf __attribute__((aligned(32)));
 					    /* EXCLUSIVE4 */
 	clientid_t	op_clientid;        /* request */
@@ -250,7 +250,6 @@ struct nfsd4_open {
 	struct nfs4_acl *op_acl;
 	struct xdr_netobj op_label;
 };
-#define op_iattr	iattr
 
 struct nfsd4_open_confirm {
 	stateid_t	oc_req_stateid		/* request */;
-- 
1.8.4.2

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Define op_iattr for nfsd4_open instead using macro
  2013-12-05  2:41 [PATCH] Define op_iattr for nfsd4_open instead using macro Kinglong Mee
@ 2013-12-05 14:56 ` J. Bruce Fields
  0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2013-12-05 14:56 UTC (permalink / raw)
  To: Kinglong Mee; +Cc: linux-nfs

Thanks, applying.--b.

On Thu, Dec 05, 2013 at 10:41:40AM +0800, Kinglong Mee wrote:
> 
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
> ---
>  fs/nfsd/xdr4.h | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/fs/nfsd/xdr4.h b/fs/nfsd/xdr4.h
> index b3ed644..e603cdd 100644
> --- a/fs/nfsd/xdr4.h
> +++ b/fs/nfsd/xdr4.h
> @@ -228,7 +228,7 @@ struct nfsd4_open {
>  	u32		op_create;     	    /* request */
>  	u32		op_createmode;      /* request */
>  	u32		op_bmval[3];        /* request */
> -	struct iattr	iattr;              /* UNCHECKED4, GUARDED4, EXCLUSIVE4_1 */
> +	struct iattr	op_iattr;           /* UNCHECKED4, GUARDED4, EXCLUSIVE4_1 */
>  	nfs4_verifier	op_verf __attribute__((aligned(32)));
>  					    /* EXCLUSIVE4 */
>  	clientid_t	op_clientid;        /* request */
> @@ -250,7 +250,6 @@ struct nfsd4_open {
>  	struct nfs4_acl *op_acl;
>  	struct xdr_netobj op_label;
>  };
> -#define op_iattr	iattr
>  
>  struct nfsd4_open_confirm {
>  	stateid_t	oc_req_stateid		/* request */;
> -- 
> 1.8.4.2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-12-05 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-05  2:41 [PATCH] Define op_iattr for nfsd4_open instead using macro Kinglong Mee
2013-12-05 14:56 ` J. Bruce Fields

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).