summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-lib/src/protocol-common.h1
-rw-r--r--rpc/xdr/src/glusterfs4-xdr.x12
-rw-r--r--rpc/xdr/src/libgfxdr.sym1
3 files changed, 14 insertions, 0 deletions
diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h
index aafd94400c6..e922c890854 100644
--- a/rpc/rpc-lib/src/protocol-common.h
+++ b/rpc/rpc-lib/src/protocol-common.h
@@ -67,6 +67,7 @@ enum gf_fop_procnum {
GFS3_OP_SETACTIVELK,
GFS3_OP_ICREATE,
GFS3_OP_NAMELINK,
+ GFS3_OP_PUT,
GFS3_OP_MAXVALUE,
};
diff --git a/rpc/xdr/src/glusterfs4-xdr.x b/rpc/xdr/src/glusterfs4-xdr.x
index bf92c8db9de..5ee86c24a0b 100644
--- a/rpc/xdr/src/glusterfs4-xdr.x
+++ b/rpc/xdr/src/glusterfs4-xdr.x
@@ -153,6 +153,18 @@ struct gfx_icreate_req {
gfx_dict xdata;
};
+struct gfx_put_req {
+ opaque pargfid[16];
+ string bname<>;
+ unsigned int mode;
+ unsigned int umask;
+ unsigned int flag;
+ u_quad_t offset;
+ unsigned int size;
+ gfx_dict xattr;
+ gfx_dict xdata;
+};
+
struct gfx_namelink_req {
opaque pargfid[16];
string bname<>;
diff --git a/rpc/xdr/src/libgfxdr.sym b/rpc/xdr/src/libgfxdr.sym
index 89fc513eda7..bd9131be7c6 100644
--- a/rpc/xdr/src/libgfxdr.sym
+++ b/rpc/xdr/src/libgfxdr.sym
@@ -339,6 +339,7 @@ xdr_gfx_getsnap_name_uuid_rsp
xdr_gfx_getactivelk_rsp
xdr_gfx_getactivelk_req
xdr_gfx_setactivelk_req
+xdr_gfx_put_req
xdr_compound_req_v2
xdr_gfx_compound_req
xdr_compound_rsp_v2