From 622636c6e18a1013261bf924084d7a78a7cc86b1 Mon Sep 17 00:00:00 2001 From: "Anand V. Avati" Date: Wed, 24 Jun 2009 18:31:09 +0000 Subject: rename dht_first_up_child to dht_first_up_subvol Signed-off-by: Anand V. Avati --- xlators/cluster/dht/src/dht-common.h | 1 + xlators/cluster/dht/src/dht-helper.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'xlators/cluster/dht') diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h index 1c2b6f443ee..f5c95b4cb2b 100644 --- a/xlators/cluster/dht/src/dht-common.h +++ b/xlators/cluster/dht/src/dht-common.h @@ -239,5 +239,6 @@ xlator_t *dht_free_disk_available_subvol (xlator_t *this, xlator_t *subvol); int dht_get_du_info_for_subvol (xlator_t *this, int subvol_idx); int dht_layout_inode_set (xlator_t *this, xlator_t *subvol, inode_t *inode); +xlator_t *dht_first_up_subvol (xlator_t *this); #endif /* _DHT_H */ 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; } -- cgit