Re: [PATCH] block: use jiffies conversion functions in scsi_ioctl.c

From: Tejun Heo
Date: Tue Dec 11 2007 - 22:23:49 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/