summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.h
diff options
context:
space:
mode:
authorBasavanagowda Kanur <gowda@gluster.com>2009-04-16 14:38:02 +0530
committerAnand V. Avati <avati@amp.gluster.com>2009-04-16 17:09:20 +0530
commite77eb62f253bc2288b1b4ff582f99ebf16a28c47 (patch)
treee5e1b4c9a1277822850808595bd0509398730116 /xlators/cluster/dht/src/dht-common.h
parentd1703344735d9c4df89b84310deaf1b9703f8c49 (diff)
cluster/distribute bug fix - try to create linkfile in dht_lookup_everywhere_cbk(), only if hashed subvolume can be determined, else error out with ENOENT.
-- with local fixes (avati) Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r--xlators/cluster/dht/src/dht-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h
index 303cf9cb131..6d784796271 100644
--- a/xlators/cluster/dht/src/dht-common.h
+++ b/xlators/cluster/dht/src/dht-common.h
@@ -236,4 +236,6 @@ int dht_is_subvol_filled (xlator_t *this, xlator_t *subvol);
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);
+
#endif /* _DHT_H */