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

From: Jens Axboe
Date: Wed Dec 12 2007 - 02:31:18 EST


On Wed, Dec 12 2007, Tejun Heo wrote:
> 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?

Certainly, it'll go in for 2.6.24. I'll push it out today.

--
Jens Axboe

--
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/