diff options
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/rpc-lib/src/protocol-common.h | 1 | ||||
-rw-r--r-- | rpc/rpc-lib/src/rpc-transport.h | 2 | ||||
-rw-r--r-- | rpc/xdr/src/rpc-common-xdr.x | 3 |
3 files changed, 5 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/protocol-common.h b/rpc/rpc-lib/src/protocol-common.h index 89a7bb0bcde..69a39b2c7a4 100644 --- a/rpc/rpc-lib/src/protocol-common.h +++ b/rpc/rpc-lib/src/protocol-common.h @@ -146,6 +146,7 @@ enum gf_cbk_procnum { GF_CBK_CHILD_UP, GF_CBK_CHILD_DOWN, GF_CBK_RECALL_LEASE, + GF_CBK_STATEDUMP, GF_CBK_MAXVALUE, }; diff --git a/rpc/rpc-lib/src/rpc-transport.h b/rpc/rpc-lib/src/rpc-transport.h index 717c40af13a..e3b630e2919 100644 --- a/rpc/rpc-lib/src/rpc-transport.h +++ b/rpc/rpc-lib/src/rpc-transport.h @@ -70,7 +70,7 @@ struct peer_info { uint32_t max_op_version; uint32_t min_op_version; //Volume mounted by client - char volname[1024]; + char volname[NAME_MAX]; }; typedef struct peer_info peer_info_t; diff --git a/rpc/xdr/src/rpc-common-xdr.x b/rpc/xdr/src/rpc-common-xdr.x index 464a7478c73..7ccfbb11a51 100644 --- a/rpc/xdr/src/rpc-common-xdr.x +++ b/rpc/xdr/src/rpc-common-xdr.x @@ -39,6 +39,9 @@ struct gf_dump_req { u_quad_t gfs_id; }; +struct gf_statedump { + unsigned int pid; +}; struct gf_prog_detail { string progname<>; |