diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2011-09-06 13:56:03 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-09-14 05:27:19 -0700 |
commit | 78dee45ef829296dbcb4cf28e06feb8e25458c91 (patch) | |
tree | 18c3c98b23f7655f4d213bf57b74d8ce6e322a71 /xlators/debug/io-stats/src/io-stats.c | |
parent | 4a7d4dcd70bfc480ea20ae10d44257e56e86789c (diff) |
debug/io-stats: Allow multiple children in graph
Change-Id: Ie4fb75d8000ff95daa8bf9f6757926822de28a65
BUG: 2458
Reviewed-on: http://review.gluster.com/401
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/debug/io-stats/src/io-stats.c')
-rw-r--r-- | xlators/debug/io-stats/src/io-stats.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 6ac7a0634e2..7057e3d6b8f 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -2400,9 +2400,9 @@ init (xlator_t *this) if (!this) return -1; - if (!this->children || this->children->next) { + if (!this->children) { gf_log (this->name, GF_LOG_ERROR, - "io_stats translator requires one subvolume"); + "io_stats translator requires atleast one subvolume"); return -1; } |