summaryrefslogtreecommitdiffstats
path: root/rpc/xdr/src/glusterfs3.x
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2010-09-14 03:56:00 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-14 03:48:53 -0700
commit9446e8d3ec23e43352ab589ca53ea42413c21588 (patch)
treea387b2cd96169925da5b1e4f36dee37220cce364 /rpc/xdr/src/glusterfs3.x
parentefe088dcba88c4e95279692bda05d8dcf64c0ab4 (diff)
glusterfs3.x: change gfid type to opaque
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 875 (Implement a new protocol to provide proper backward/forward compatibility) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=875
Diffstat (limited to 'rpc/xdr/src/glusterfs3.x')
-rw-r--r--rpc/xdr/src/glusterfs3.x88
1 files changed, 44 insertions, 44 deletions
diff --git a/rpc/xdr/src/glusterfs3.x b/rpc/xdr/src/glusterfs3.x
index 5d10992a640..646f3107177 100644
--- a/rpc/xdr/src/glusterfs3.x
+++ b/rpc/xdr/src/glusterfs3.x
@@ -23,7 +23,7 @@ struct gf_flock {
struct gf_iatt {
- unsigned char ia_gfid[16];
+ opaque ia_gfid[16];
unsigned hyper ia_ino; /* inode number */
unsigned hyper ia_gen; /* generation number */
unsigned hyper ia_dev; /* backing device ID */
@@ -45,7 +45,7 @@ struct gf_iatt {
struct gfs3_stat_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
string path<>; /* NULL terminated */
@@ -61,7 +61,7 @@ struct gfs3_stat_rsp {
struct gfs3_readlink_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int size;
@@ -78,7 +78,7 @@ struct gfs3_readlink_req {
struct gfs3_mknod_req {
unsigned hyper gfs_id;
- unsigned char pargfid[16];
+ opaque pargfid[16];
unsigned hyper par;
unsigned hyper gen;
unsigned hyper dev;
@@ -99,7 +99,7 @@ struct gfs3_readlink_req {
struct gfs3_mkdir_req {
unsigned hyper gfs_id;
- unsigned char pargfid[16];
+ opaque pargfid[16];
unsigned hyper par;
unsigned hyper gen;
unsigned int mode;
@@ -119,7 +119,7 @@ struct gfs3_readlink_req {
struct gfs3_unlink_req {
unsigned hyper gfs_id;
- unsigned char pargfid[16];
+ opaque pargfid[16];
unsigned hyper par;
unsigned hyper gen;
string path<>; /* NULL terminated */
@@ -136,7 +136,7 @@ struct gfs3_readlink_req {
struct gfs3_rmdir_req {
unsigned hyper gfs_id;
- unsigned char pargfid[16];
+ opaque pargfid[16];
unsigned hyper par;
unsigned hyper gen;
string path<>;
@@ -153,7 +153,7 @@ struct gfs3_readlink_req {
struct gfs3_symlink_req {
unsigned hyper gfs_id;
- unsigned char pargfid[16];
+ opaque pargfid[16];
unsigned hyper par;
unsigned hyper gen;
string path<>;
@@ -173,8 +173,8 @@ struct gfs3_readlink_req {
struct gfs3_rename_req {
unsigned hyper gfs_id;
- unsigned char oldgfid[16];
- unsigned char newgfid[16];
+ opaque oldgfid[16];
+ opaque newgfid[16];
unsigned hyper oldpar;
unsigned hyper oldgen;
unsigned hyper newpar;
@@ -198,8 +198,8 @@ struct gfs3_readlink_req {
struct gfs3_link_req {
unsigned hyper gfs_id;
- unsigned char oldgfid[16];
- unsigned char newgfid[16];
+ opaque oldgfid[16];
+ opaque newgfid[16];
unsigned hyper oldino;
unsigned hyper oldgen;
unsigned hyper newpar;
@@ -219,7 +219,7 @@ struct gfs3_readlink_req {
struct gfs3_truncate_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned hyper offset;
@@ -236,7 +236,7 @@ struct gfs3_readlink_req {
struct gfs3_open_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int flags;
@@ -253,7 +253,7 @@ struct gfs3_readlink_req {
struct gfs3_read_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -270,8 +270,8 @@ struct gfs3_readlink_req {
struct gfs3_lookup_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
- unsigned char pargfid[16];
+ opaque gfid[16];
+ opaque pargfid[16];
unsigned hyper ino; /* NOTE: used only in case of 'root' lookup */
unsigned hyper par;
unsigned hyper gen;
@@ -293,7 +293,7 @@ struct gfs3_lookup_req {
struct gfs3_write_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -311,7 +311,7 @@ struct gfs3_lookup_req {
struct gfs3_statfs_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
string path<>;
@@ -325,7 +325,7 @@ struct gfs3_lookup_req {
struct gfs3_lk_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -342,7 +342,7 @@ struct gfs3_lookup_req {
struct gfs3_inodelk_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int cmd;
@@ -354,7 +354,7 @@ struct gfs3_lookup_req {
struct gfs3_finodelk_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -367,7 +367,7 @@ struct gfs3_finodelk_req {
struct gfs3_flush_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -376,7 +376,7 @@ struct gfs3_finodelk_req {
struct gfs3_fsync_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -393,7 +393,7 @@ struct gfs3_finodelk_req {
struct gfs3_setxattr_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int flags;
@@ -405,7 +405,7 @@ struct gfs3_finodelk_req {
struct gfs3_fsetxattr_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -417,7 +417,7 @@ struct gfs3_finodelk_req {
struct gfs3_xattrop_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int flags;
@@ -435,7 +435,7 @@ struct gfs3_finodelk_req {
struct gfs3_fxattrop_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -453,7 +453,7 @@ struct gfs3_finodelk_req {
struct gfs3_getxattr_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int namelen;
@@ -470,7 +470,7 @@ struct gfs3_finodelk_req {
struct gfs3_fgetxattr_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -487,7 +487,7 @@ struct gfs3_finodelk_req {
struct gfs3_removexattr_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
string path<>;
@@ -498,7 +498,7 @@ struct gfs3_finodelk_req {
struct gfs3_opendir_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
string path<>;
@@ -513,7 +513,7 @@ struct gfs3_finodelk_req {
struct gfs3_fsyncdir_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -522,7 +522,7 @@ struct gfs3_finodelk_req {
struct gfs3_readdir_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -532,7 +532,7 @@ struct gfs3_finodelk_req {
struct gfs3_readdirp_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -554,7 +554,7 @@ struct gfs3_finodelk_req {
struct gfs3_access_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int mask;
@@ -564,7 +564,7 @@ struct gfs3_access_req {
struct gfs3_create_req {
unsigned hyper gfs_id;
- unsigned char pargfid[16];
+ opaque pargfid[16];
unsigned hyper par;
unsigned hyper gen;
unsigned int flags;
@@ -587,7 +587,7 @@ struct gfs3_create_rsp {
struct gfs3_ftruncate_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -604,7 +604,7 @@ struct gfs3_ftruncate_rsp {
struct gfs3_fstat_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -620,7 +620,7 @@ struct gfs3_fstat_req {
struct gfs3_entrylk_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
unsigned int cmd;
@@ -633,7 +633,7 @@ struct gfs3_fstat_req {
struct gfs3_fentrylk_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -647,7 +647,7 @@ struct gfs3_fstat_req {
struct gfs3_setattr_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
struct gf_iatt stbuf;
@@ -724,7 +724,7 @@ struct gfs3_fstat_req {
struct gfs3_releasedir_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;
@@ -732,7 +732,7 @@ struct gfs3_releasedir_req {
struct gfs3_release_req {
unsigned hyper gfs_id;
- unsigned char gfid[16];
+ opaque gfid[16];
unsigned hyper ino;
unsigned hyper gen;
hyper fd;