From 9186c9e84c857a0b1bfbfa4e7b46e9eb741186fb Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 12 Jul 2010 09:03:04 +0000 Subject: typo error: should check for less than instead of greater than Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 1059 (enhancements for getting statistics from performance translators) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059 --- xlators/performance/quick-read/src/quick-read.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index 696e628e314..ddf37753eec 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -2380,7 +2380,7 @@ qr_priv_dump (xlator_t *this) "table is NULL"); goto out; } else { - for (i = 0; i > conf->max_pri; i++) { + for (i = 0; i < conf->max_pri; i++) { list_for_each_entry (curr, &table->lru[i], lru) { file_count++; } -- cgit