lkml.org 
[lkml]   [2007]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] block: use jiffies conversion functions in scsi_ioctl.c
Jens Axboe wrote:
> On Wed, Dec 05 2007, Tejun Heo wrote:
>> Use msecs_to_jiffies() and jiffies_to_msecs() in scsi_ioctl().
>> Sometimes callers use very large values for e.g. vendor specific media
>> clear command and calculation can overflow.
>
> Thanks Tejun, applied.

Jens, it seems premature timeout on bug 9346 could be caused by the same
problem. Can you push this so that it can go into 2.6.24?

--
tejun


\
 
 \ /
  Last update: 2007-12-12 04:25    [from the cache]
©2003-2011 Jasper Spaans