Commit 3ff69309 authored by Kinglong Mee's avatar Kinglong Mee Committed by J. Bruce Fields

Define op_iattr for nfsd4_open instead using macro

Signed-off-by: default avatarKinglong Mee <kinglongmee@gmail.com>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent ff88825f
...@@ -228,7 +228,7 @@ struct nfsd4_open { ...@@ -228,7 +228,7 @@ struct nfsd4_open {
u32 op_create; /* request */ u32 op_create; /* request */
u32 op_createmode; /* request */ u32 op_createmode; /* request */
u32 op_bmval[3]; /* 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))); nfs4_verifier op_verf __attribute__((aligned(32)));
/* EXCLUSIVE4 */ /* EXCLUSIVE4 */
clientid_t op_clientid; /* request */ clientid_t op_clientid; /* request */
...@@ -250,7 +250,6 @@ struct nfsd4_open { ...@@ -250,7 +250,6 @@ struct nfsd4_open {
struct nfs4_acl *op_acl; struct nfs4_acl *op_acl;
struct xdr_netobj op_label; struct xdr_netobj op_label;
}; };
#define op_iattr iattr
struct nfsd4_open_confirm { struct nfsd4_open_confirm {
stateid_t oc_req_stateid /* request */; stateid_t oc_req_stateid /* request */;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment