projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
764e787
)
generic_filter_pre_select(): Fix off-by-one.
author
Andre Noll
<maan@systemlinux.org>
Sun, 3 Jan 2010 21:44:40 +0000
(22:44 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sun, 3 Jan 2010 21:44:40 +0000
(22:44 +0100)
filter_common.c
patch
|
blob
|
history
diff --git
a/filter_common.c
b/filter_common.c
index
56fbd82
..
a27c2d3
100644
(file)
--- a/
filter_common.c
+++ b/
filter_common.c
@@
-303,7
+303,7
@@
void generic_filter_pre_select(struct sched *s, struct task *t)
size_t iqs = btr_get_input_queue_size(fn->btrn);
t->error = 0;
- if (iqs <
=
fn->min_iqs)
+ if (iqs < fn->min_iqs)
return;
if (btr_bytes_pending(fn->btrn) > FILTER_MAX_PENDING)
return; /* FIXME, should use reasonable bound on timeout */