aboutsummaryrefslogtreecommitdiffstats
path: root/block/as-iosched.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-12-05 21:28:24 +0100
committerJens Axboe <jens.axboe@oracle.com>2007-12-18 08:29:28 +0100
commit24bb8fb99a062213424d3e88842eb07f693378be (patch)
treec9bce1eba2ab11ea06b89776f157fd4793169adc /block/as-iosched.c
parentc63a1190368771b8207d86c4217ae4afdf1cbd5e (diff)
downloadkernel_samsung_smdk4412-24bb8fb99a062213424d3e88842eb07f693378be.zip
kernel_samsung_smdk4412-24bb8fb99a062213424d3e88842eb07f693378be.tar.gz
kernel_samsung_smdk4412-24bb8fb99a062213424d3e88842eb07f693378be.tar.bz2
block: use jiffies conversion functions in scsi_ioctl.c
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. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/as-iosched.c')
0 files changed, 0 insertions, 0 deletions