lkml.org 
[lkml]   [2003]   [Feb]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectanticipation is killing me
With 2.5.62-mm3 (not -mm2) I need small patch to can_start_anticipation.
I've not studied the code, this patch may be the worst nonsense; and if
it's at all mysterious to you, sorry, I probably won't be able to give
more info until tomorrow...

Hugh

--- 2.5.62-mm3/drivers/block/as-iosched.c Mon Feb 24 12:29:49 2003
+++ linux/drivers/block/as-iosched.c Mon Feb 24 21:38:39 2003
@@ -856,7 +856,8 @@
*/
del_timer(&ad->antic_timer);
ad->antic_status = ANTIC_FINISHED;
- blk_remove_plug(arq->request->q);
+ if (arq)
+ blk_remove_plug(arq->request->q);
schedule_work(&ad->antic_work);
return 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.023 / U:6.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site