All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: jiffies wrap in ll_rw_blk.c
@ 2002-11-20 20:44 Luben Tuikov
  2002-11-20 21:06 ` Benjamin LaHaise
  2002-11-20 21:19 ` Alan Cox
  0 siblings, 2 replies; 8+ messages in thread
From: Luben Tuikov @ 2002-11-20 20:44 UTC (permalink / raw)
  To: linux-kernel, axboe

--- ll_rw_blk.c.old     Wed Nov 20 15:32:50 2002
+++ ll_rw_blk.c Wed Nov 20 15:33:06 2002
@@ -2092,7 +2092,7 @@
                complete(req->waiting);
 
        if (disk) {
-               unsigned long duration = jiffies - req->start_time;
+               unsigned long duration = (signed) jiffies - (signed) req->start_time;
                switch (rq_data_dir(req)) {
                    case WRITE:
                        disk->writes++;

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2002-11-20 22:13 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-20 20:44 [PATCH]: jiffies wrap in ll_rw_blk.c Luben Tuikov
2002-11-20 21:06 ` Benjamin LaHaise
2002-11-20 21:18   ` Luben Tuikov
2002-11-20 21:19 ` Alan Cox
2002-11-20 21:00   ` Luben Tuikov
2002-11-20 21:31     ` Alan Cox
2002-11-20 21:15       ` Luben Tuikov
2002-11-20 22:20   ` Olivier Galibert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.