From 92cd5175b42d291314a2ede95b05ad10cb91b988 Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 14 Sep 2010 07:40:39 +0000 Subject: remove 'ino' from protocol structures Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- rpc/xdr/src/glusterfs3-xdr.h | 43 ------------------------------------------- 1 file changed, 43 deletions(-) (limited to 'rpc/xdr/src/glusterfs3-xdr.h') diff --git a/rpc/xdr/src/glusterfs3-xdr.h b/rpc/xdr/src/glusterfs3-xdr.h index 6fcda3d2..140a544e 100644 --- a/rpc/xdr/src/glusterfs3-xdr.h +++ b/rpc/xdr/src/glusterfs3-xdr.h @@ -321,7 +321,6 @@ gf_stat_from_iatt (struct gf_iatt *gf_stat, struct iatt *iatt) struct gfs3_stat_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; char *path; }; typedef struct gfs3_stat_req gfs3_stat_req; @@ -337,7 +336,6 @@ typedef struct gfs3_stat_rsp gfs3_stat_rsp; struct gfs3_readlink_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int size; char *path; }; @@ -355,7 +353,6 @@ typedef struct gfs3_readlink_rsp gfs3_readlink_rsp; struct gfs3_mknod_req { u_quad_t gfs_id; char pargfid[16]; - u_quad_t par; u_quad_t dev; u_int mode; char *path; @@ -380,7 +377,6 @@ typedef struct gfs3_mknod_rsp gfs3_mknod_rsp; struct gfs3_mkdir_req { u_quad_t gfs_id; char pargfid[16]; - u_quad_t par; u_int mode; char *path; char *bname; @@ -404,7 +400,6 @@ typedef struct gfs3_mkdir_rsp gfs3_mkdir_rsp; struct gfs3_unlink_req { u_quad_t gfs_id; char pargfid[16]; - u_quad_t par; char *path; char *bname; }; @@ -422,7 +417,6 @@ typedef struct gfs3_unlink_rsp gfs3_unlink_rsp; struct gfs3_rmdir_req { u_quad_t gfs_id; char pargfid[16]; - u_quad_t par; char *path; char *bname; }; @@ -440,7 +434,6 @@ typedef struct gfs3_rmdir_rsp gfs3_rmdir_rsp; struct gfs3_symlink_req { u_quad_t gfs_id; char pargfid[16]; - u_quad_t par; char *path; char *bname; char *linkname; @@ -465,8 +458,6 @@ struct gfs3_rename_req { u_quad_t gfs_id; char oldgfid[16]; char newgfid[16]; - u_quad_t oldpar; - u_quad_t newpar; char *oldpath; char *oldbname; char *newpath; @@ -490,8 +481,6 @@ struct gfs3_link_req { u_quad_t gfs_id; char oldgfid[16]; char newgfid[16]; - u_quad_t oldino; - u_quad_t newpar; char *oldpath; char *newpath; char *newbname; @@ -511,7 +500,6 @@ typedef struct gfs3_link_rsp gfs3_link_rsp; struct gfs3_truncate_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_quad_t offset; char *path; }; @@ -529,7 +517,6 @@ typedef struct gfs3_truncate_rsp gfs3_truncate_rsp; struct gfs3_open_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int flags; u_int wbflags; char *path; @@ -547,7 +534,6 @@ typedef struct gfs3_open_rsp gfs3_open_rsp; struct gfs3_read_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_quad_t offset; u_int size; @@ -567,8 +553,6 @@ struct gfs3_lookup_req { u_quad_t gfs_id; char gfid[16]; char pargfid[16]; - u_quad_t ino; - u_quad_t par; u_int flags; char *path; char *bname; @@ -595,7 +579,6 @@ typedef struct gfs3_lookup_rsp gfs3_lookup_rsp; struct gfs3_write_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_quad_t offset; u_int size; @@ -614,7 +597,6 @@ typedef struct gfs3_write_rsp gfs3_write_rsp; struct gfs3_statfs_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; char *path; }; typedef struct gfs3_statfs_req gfs3_statfs_req; @@ -630,7 +612,6 @@ typedef struct gfs3_statfs_rsp gfs3_statfs_rsp; struct gfs3_lk_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_int cmd; u_int type; @@ -649,7 +630,6 @@ typedef struct gfs3_lk_rsp gfs3_lk_rsp; struct gfs3_inodelk_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int cmd; u_int type; struct gf_flock flock; @@ -661,7 +641,6 @@ typedef struct gfs3_inodelk_req gfs3_inodelk_req; struct gfs3_finodelk_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_int cmd; u_int type; @@ -673,7 +652,6 @@ typedef struct gfs3_finodelk_req gfs3_finodelk_req; struct gfs3_flush_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; }; typedef struct gfs3_flush_req gfs3_flush_req; @@ -681,7 +659,6 @@ typedef struct gfs3_flush_req gfs3_flush_req; struct gfs3_fsync_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_int data; }; @@ -699,7 +676,6 @@ typedef struct gfs3_fsync_rsp gfs3_fsync_rsp; struct gfs3_setxattr_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int flags; struct { u_int dict_len; @@ -712,7 +688,6 @@ typedef struct gfs3_setxattr_req gfs3_setxattr_req; struct gfs3_fsetxattr_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_int flags; struct { @@ -725,7 +700,6 @@ typedef struct gfs3_fsetxattr_req gfs3_fsetxattr_req; struct gfs3_xattrop_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int flags; struct { u_int dict_len; @@ -749,7 +723,6 @@ typedef struct gfs3_xattrop_rsp gfs3_xattrop_rsp; struct gfs3_fxattrop_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_int flags; struct { @@ -773,7 +746,6 @@ typedef struct gfs3_fxattrop_rsp gfs3_fxattrop_rsp; struct gfs3_getxattr_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int namelen; char *path; char *name; @@ -794,7 +766,6 @@ typedef struct gfs3_getxattr_rsp gfs3_getxattr_rsp; struct gfs3_fgetxattr_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_int namelen; char *name; @@ -815,7 +786,6 @@ typedef struct gfs3_fgetxattr_rsp gfs3_fgetxattr_rsp; struct gfs3_removexattr_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; char *path; char *name; }; @@ -824,7 +794,6 @@ typedef struct gfs3_removexattr_req gfs3_removexattr_req; struct gfs3_opendir_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; char *path; }; typedef struct gfs3_opendir_req gfs3_opendir_req; @@ -840,7 +809,6 @@ typedef struct gfs3_opendir_rsp gfs3_opendir_rsp; struct gfs3_fsyncdir_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; int data; }; @@ -849,7 +817,6 @@ typedef struct gfs3_fsyncdir_req gfs3_fsyncdir_req; struct gfs3_readdir_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_quad_t offset; u_int size; @@ -859,7 +826,6 @@ typedef struct gfs3_readdir_req gfs3_readdir_req; struct gfs3_readdirp_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_quad_t offset; u_int size; @@ -889,7 +855,6 @@ typedef struct gf_setvolume_rsp gf_setvolume_rsp; struct gfs3_access_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int mask; char *path; }; @@ -898,7 +863,6 @@ typedef struct gfs3_access_req gfs3_access_req; struct gfs3_create_req { u_quad_t gfs_id; char pargfid[16]; - u_quad_t par; u_int flags; u_int mode; char *path; @@ -924,7 +888,6 @@ typedef struct gfs3_create_rsp gfs3_create_rsp; struct gfs3_ftruncate_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_quad_t offset; }; @@ -942,7 +905,6 @@ typedef struct gfs3_ftruncate_rsp gfs3_ftruncate_rsp; struct gfs3_fstat_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; }; typedef struct gfs3_fstat_req gfs3_fstat_req; @@ -958,7 +920,6 @@ typedef struct gfs3_fstat_rsp gfs3_fstat_rsp; struct gfs3_entrylk_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; u_int cmd; u_int type; u_quad_t namelen; @@ -971,7 +932,6 @@ typedef struct gfs3_entrylk_req gfs3_entrylk_req; struct gfs3_fentrylk_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; u_int cmd; u_int type; @@ -984,7 +944,6 @@ typedef struct gfs3_fentrylk_req gfs3_fentrylk_req; struct gfs3_setattr_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; struct gf_iatt stbuf; int valid; char *path; @@ -1080,7 +1039,6 @@ typedef struct gf_notify_rsp gf_notify_rsp; struct gfs3_releasedir_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; }; typedef struct gfs3_releasedir_req gfs3_releasedir_req; @@ -1088,7 +1046,6 @@ typedef struct gfs3_releasedir_req gfs3_releasedir_req; struct gfs3_release_req { u_quad_t gfs_id; char gfid[16]; - u_quad_t ino; quad_t fd; }; typedef struct gfs3_release_req gfs3_release_req; -- cgit