summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2010-07-12 09:03:04 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-13 22:11:59 -0700
commit9186c9e84c857a0b1bfbfa4e7b46e9eb741186fb (patch)
tree4fd0a3c4baf6482d36903ffe12d9ef6f9e66a5b6 /xlators/performance/quick-read
parent6ef7f0e25fb7c76231b4d4ae05cbc45330de300d (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/quick-read')
-rw-r--r--xlators/performance/quick-read/src/quick-read.c2
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 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++;
}