summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/glusterfs3-xdr.x
diff options
context:
space:
mode:
authorSoumya Koduri <skoduri@redhat.com>2015-04-14 04:03:36 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-07 04:19:41 -0700
commita53eddfac357400faf636e28b10cd184c53301c5 (patch)
treee5500d7de63bed0a69a25bf4f01e61da435a4225 /rpc/xdr/src/glusterfs3-xdr.x
parentea8d9ebafa4a6afb99721022e638292fd475ed62 (diff)
Upcall: Replaced opaque gfid with string in rpc cbk args
For GF_CBK_CACHE_INVALIDATION, have changed the type of gfid to be string (cannonical form) instead of opaque byte format to ensure correctness across platforms supporting different endianness. BUG: 1217711 Change-Id: Iac4372714f4b4ebcd9c4393aaf46ceba3f37f587 Signed-off-by: Soumya Koduri <skoduri@redhat.com> Reviewed-on: http://review.gluster.org/10224 Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/10563 Tested-by: NetBSD Build System Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'rpc/xdr/src/glusterfs3-xdr.x')
-rw-r--r--rpc/xdr/src/glusterfs3-xdr.x2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/xdr/src/glusterfs3-xdr.x b/rpc/xdr/src/glusterfs3-xdr.x
index f0cd4cbc953..5304a26da3a 100644
--- a/rpc/xdr/src/glusterfs3-xdr.x
+++ b/rpc/xdr/src/glusterfs3-xdr.x
@@ -45,7 +45,7 @@ struct gf_iatt {
struct gfs3_cbk_cache_invalidation_req {
- opaque gfid[16];
+ string gfid<>;
unsigned int event_type; /* Upcall event type */
unsigned int flags; /* or mask of events incase of inotify */
unsigned int expire_time_attr; /* the amount of time which client