diff options
author | Harshavardhana <fharshav@redhat.com> | 2011-11-21 16:28:47 -0800 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-12-06 02:02:02 -0800 |
commit | 254fbfd92d4088c97ddde79a37b4e08e80c8eff3 (patch) | |
tree | 229df761122889997a14a4cc310095a438e2f3ff /xlators/cluster/dht/src/dht-common.h | |
parent | 2b64c93c9f7f69fab506bdfca163a2805a2ea46c (diff) |
cluster/distribute: Assert checks at known locations
and new function dict_get_ptr_and_len().
Change-Id: I653a1cc8123baa36d750250d02721aa98b196f38
BUG: 3158
Signed-off-by: Harshavardhana <fharshav@redhat.com>
Reviewed-on: http://review.gluster.com/744
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r-- | xlators/cluster/dht/src/dht-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 54cef6cd9d4..c1b9364ba72 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -314,7 +314,7 @@ int dht_layout_merge (xlator_t *this, dht_layout_t *layout, xlator_t *subvol, int dht_disk_layout_extract (xlator_t *this, dht_layout_t *layout, int pos, int32_t **disk_layout_p); int dht_disk_layout_merge (xlator_t *this, dht_layout_t *layout, - int pos, void *disk_layout_raw); + int pos, void *disk_layout_raw, int disk_layout_len); int dht_frame_return (call_frame_t *frame); |