diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2010-07-12 09:03:04 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-13 22:11:59 -0700 |
commit | 9186c9e84c857a0b1bfbfa4e7b46e9eb741186fb (patch) | |
tree | 4fd0a3c4baf6482d36903ffe12d9ef6f9e66a5b6 /xlators/performance | |
parent | 6ef7f0e25fb7c76231b4d4ae05cbc45330de300d (diff) |
typo error: should check for less than instead of greater than
Signed-off-by: Raghavendra Bhat <raghavendrabhat@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1059 (enhancements for getting statistics from performance translators)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1059
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/quick-read/src/quick-read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index 696e628e3..ddf37753e 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++; } |