From 664d2d243deb132dd5daad0280ae9fa2406ca26a Mon Sep 17 00:00:00 2001 From: Soumya Koduri Date: Tue, 14 Apr 2015 04:03:36 +0530 Subject: 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: 1200262 Change-Id: Iac4372714f4b4ebcd9c4393aaf46ceba3f37f587 Signed-off-by: Soumya Koduri Reviewed-on: http://review.gluster.org/10224 Reviewed-by: Kaleb KEITHLEY Tested-by: Gluster Build System --- rpc/xdr/src/glusterfs3-xdr.x | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc/xdr/src/glusterfs3-xdr.x') 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 -- cgit