[PATCH] Fix SG_IO timeout jiffy conversion
commitc0d4d573feed199b16094c072e7cb07afb01c598
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 30 Jan 2007 02:18:38 +0000 (29 21:18 -0500)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 30 Jan 2007 04:32:03 +0000 (29 20:32 -0800)
tree106f53f014c334afa3028407a0f7ccf015836ce2
parent87df7241bd547da5d4d4a4e5397866dfe422e439
[PATCH] Fix SG_IO timeout jiffy conversion

Commit 85e04e371b5a321b5df2bc3f8e0099a64fb087d7 cleaned up the timeout
conversion, but did it exactly the wrong way.  We get msecs from user
space, and should convert them into jiffies. Not the other way around.

Here is a fix with the overflow check sg.c has added in.  This fixes DVD
burnign with Nero.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
[ "you'll be wanting a comma there" - Andrew ]
Cc: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
block/scsi_ioctl.c