diff options
Diffstat (limited to 'rpc/xdr/src')
| -rw-r--r-- | rpc/xdr/src/glusterfs3.h | 2 | ||||
| -rw-r--r-- | rpc/xdr/src/glusterfs4-xdr.x | 1 | 
2 files changed, 3 insertions, 0 deletions
diff --git a/rpc/xdr/src/glusterfs3.h b/rpc/xdr/src/glusterfs3.h index 6ab80a82922..abc6bf6d5da 100644 --- a/rpc/xdr/src/glusterfs3.h +++ b/rpc/xdr/src/glusterfs3.h @@ -728,6 +728,7 @@ dict_to_xdr(dict_t *this, gfx_dict *dict)                  break;              case GF_DATA_TYPE_PTR: +            case GF_DATA_TYPE_STR_OLD:                  index++;                  /* Ideally, each type of data stored in dictionary                     should have type. A pointer type shouldn't be @@ -854,6 +855,7 @@ xdr_to_dict(gfx_dict *dict, dict_t **to)                  ret = dict_set_iatt(this, key, iatt, false);                  break;              case GF_DATA_TYPE_PTR: +            case GF_DATA_TYPE_STR_OLD:                  value = GF_MALLOC(xpair->value.gfx_value_u.other.other_len + 1,                                    gf_common_mt_char);                  if (!value) { diff --git a/rpc/xdr/src/glusterfs4-xdr.x b/rpc/xdr/src/glusterfs4-xdr.x index 5ee86c24a0b..5929e887db1 100644 --- a/rpc/xdr/src/glusterfs4-xdr.x +++ b/rpc/xdr/src/glusterfs4-xdr.x @@ -60,6 +60,7 @@ union gfx_value switch (gf_dict_data_type_t type) {          case GF_DATA_TYPE_GFUUID:                  opaque uuid[16];          case GF_DATA_TYPE_PTR: +        case GF_DATA_TYPE_STR_OLD:                  opaque other<>;  };  | 
