From: Corrado Zoccolo Date: Mon, 5 Oct 2009 06:49:23 +0000 (+0200) Subject: cfq-iosched: fix possible problem with jiffies wraparound X-Git-Tag: v2.6.32-rc5~26^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48e025e63ac908ed6ec5394a294f4ecd510a7476;p=pandora-kernel.git cfq-iosched: fix possible problem with jiffies wraparound The RR service tree is indexed by a key that is relative to current jiffies. This can cause problems on jiffies wraparound. The patch fixes it using time_before comparison, and changing the add_front path to use a relative number, too. Signed-off-by: Corrado Zoccolo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed