From e77eb62f253bc2288b1b4ff582f99ebf16a28c47 Mon Sep 17 00:00:00 2001 From: Basavanagowda Kanur Date: Thu, 16 Apr 2009 14:38:02 +0530 Subject: 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 --- xlators/cluster/dht/src/dht-common.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/cluster/dht/src/dht-common.h') 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 */ -- cgit