X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter_common.c;h=06a1f52bf15012c556b7b3443e8a5e51b5ac4f16;hp=7af5ace6533aa88a85b5ea9c8295867192164af0;hb=98f2c8aea52a49fad3fd6df67b1eb32c1499176c;hpb=810761a3cdf3f75dd8e07a5d903793048c36df1d diff --git a/filter_common.c b/filter_common.c index 7af5ace6..06a1f52b 100644 --- a/filter_common.c +++ b/filter_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2009 Andre Noll + * Copyright (C) 2005-2010 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -133,9 +133,6 @@ void generic_filter_pre_select(struct sched *s, struct task *t) struct filter_node *fn = container_of(t, struct filter_node, task); t->error = 0; - if (btr_node_status(fn->btrn, fn->min_iqs, BTR_NT_INTERNAL) != 0) { - s->timeout.tv_sec = 0; - s->timeout.tv_usec = 1; - } + if (btr_node_status(fn->btrn, fn->min_iqs, BTR_NT_INTERNAL) != 0) + sched_min_delay(s); } -