diff options
author | Amar Tumballi <amar@gluster.com> | 2011-03-16 09:43:04 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2011-03-17 11:59:00 -0700 |
commit | d643c1093a89398de6cbe333aeea5cf91a56b3ad (patch) | |
tree | 6eda56eea6f8747a3c76ff89aa3977d853e28078 /xlators/cluster/dht/src/dht-helper.c | |
parent | 7df49c62422d33d19eaebeddd3fcdacccc9c7bce (diff) |
cluster/dht: log enhancements
Signed-off-by: Shishir Gowda <shishirng@gluster.com>
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Vijay Bellur <vijay@dev.gluster.com>
BUG: 2346 (Log message enhancements in GlusterFS - phase 1)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2346
Diffstat (limited to 'xlators/cluster/dht/src/dht-helper.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-helper.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/xlators/cluster/dht/src/dht-helper.c b/xlators/cluster/dht/src/dht-helper.c index 00c710f6145..cd57b9ea083 100644 --- a/xlators/cluster/dht/src/dht-helper.c +++ b/xlators/cluster/dht/src/dht-helper.c @@ -57,7 +57,6 @@ dht_itransform (xlator_t *this, xlator_t *subvol, uint64_t x, uint64_t *y_p) int max = 0; uint64_t y = 0; - if (x == ((uint64_t) -1)) { y = (uint64_t) -1; goto out; @@ -473,8 +472,6 @@ dht_build_child_loc (xlator_t *this, loc_t *child, loc_t *parent, char *name) gf_asprintf ((char **)&child->path, "%s/%s", parent->path, name); if (!child->path) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } @@ -486,8 +483,6 @@ dht_build_child_loc (xlator_t *this, loc_t *child, loc_t *parent, char *name) child->inode = inode_new (parent->inode->table); if (!child->inode) { - gf_log (this->name, GF_LOG_ERROR, - "Out of memory"); goto err; } |