summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-layout.c
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2009-04-13 23:40:22 -0700
committerAnand V. Avati <avati@amp.gluster.com>2009-04-14 14:51:53 +0530
commit33e81bc94986929caab14a05231b25787a25a41b (patch)
tree6337d00296825fd6fc461c813c2f96ff67366fba /xlators/cluster/dht/src/dht-layout.c
parentd8bc2834d056a23f55bd86a5fd704bd81e35836d (diff)
bug fixes in dht-disk-usage feature.
fixes bugs seen with dht's disk usage. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-layout.c')
-rw-r--r--xlators/cluster/dht/src/dht-layout.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-layout.c b/xlators/cluster/dht/src/dht-layout.c
index 45a7df601..d9824908a 100644
--- a/xlators/cluster/dht/src/dht-layout.c
+++ b/xlators/cluster/dht/src/dht-layout.c
@@ -403,6 +403,9 @@ dht_layout_anomalies (xlator_t *this, loc_t *loc, dht_layout_t *layout,
case ENOTCONN:
down++;
break;
+ case ENOSPC:
+ down++;
+ break;
default:
misc++;
}