summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-helper.c
diff options
context:
space:
mode:
authorAnand V. Avati <avati@amp.gluster.com>2009-06-24 18:31:09 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-06-26 11:09:21 -0700
commit622636c6e18a1013261bf924084d7a78a7cc86b1 (patch)
tree274c46d1cc9b9903f6adeb9cc0bf17eaded2674b /xlators/cluster/dht/src/dht-helper.c
parentad7909163aef151b15638110119fb9adaf3dbcee (diff)
rename dht_first_up_child to dht_first_up_subvol
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-helper.c')
-rw-r--r--xlators/cluster/dht/src/dht-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-helper.c b/xlators/cluster/dht/src/dht-helper.c
index 136dbe9b822..10fc1ccdae4 100644
--- a/xlators/cluster/dht/src/dht-helper.c
+++ b/xlators/cluster/dht/src/dht-helper.c
@@ -178,7 +178,7 @@ basestr (const char *str)
}
xlator_t *
-dht_first_up_child (xlator_t *this)
+dht_first_up_subvol (xlator_t *this)
{
dht_conf_t *conf = NULL;
xlator_t *child = NULL;
@@ -207,7 +207,7 @@ dht_subvol_get_hashed (xlator_t *this, loc_t *loc)
xlator_t *subvol = NULL;
if (is_fs_root (loc)) {
- subvol = dht_first_up_child (this);
+ subvol = dht_first_up_subvol (this);
goto out;
}