diff options
Diffstat (limited to 'rpc/xdr')
-rw-r--r-- | rpc/xdr/src/glusterfs-fops.x | 2 | ||||
-rw-r--r-- | rpc/xdr/src/glusterfs4-xdr.x | 27 |
2 files changed, 29 insertions, 0 deletions
diff --git a/rpc/xdr/src/glusterfs-fops.x b/rpc/xdr/src/glusterfs-fops.x index b14a6e6f2e1..5b5c5904678 100644 --- a/rpc/xdr/src/glusterfs-fops.x +++ b/rpc/xdr/src/glusterfs-fops.x @@ -75,6 +75,8 @@ enum glusterfs_fop_t { GF_FOP_GETACTIVELK, GF_FOP_SETACTIVELK, GF_FOP_PUT, + GF_FOP_ICREATE, + GF_FOP_NAMELINK, GF_FOP_MAXVALUE }; diff --git a/rpc/xdr/src/glusterfs4-xdr.x b/rpc/xdr/src/glusterfs4-xdr.x index 6d0c500096b..a4fc9b22850 100644 --- a/rpc/xdr/src/glusterfs4-xdr.x +++ b/rpc/xdr/src/glusterfs4-xdr.x @@ -31,3 +31,30 @@ unsigned int len; opaque xdata<>; /* Extra data */ } ; + +struct gfs4_icreate_rsp { + int op_ret; + int op_errno; + gf_iatt stat; + opaque xdata<>; +}; + +struct gfs4_icreate_req { + opaque gfid[16]; + unsigned int mode; + opaque xdata<>; +}; + +struct gfs4_namelink_rsp { + int op_ret; + int op_errno; + gf_iatt preparent; + gf_iatt postparent; + opaque xdata<>; +}; + +struct gfs4_namelink_req { + opaque pargfid[16]; + string bname<>; + opaque xdata<>; +}; |