ub: Fix timeouts
authorPete Zaitcev <zaitcev@redhat.com>
Sat, 19 Apr 2008 21:32:18 +0000 (14:32 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 2 May 2008 17:25:52 +0000 (10:25 -0700)
commit2c51ae70ede5a90d8ccb67d965c1b4e20fc4e110
tree4449f2725f6fb015581ab50080c1b10feb47cced
parent043042109b24a1bd418db7cd509dadc5d120daf1
ub: Fix timeouts

The wodim says:
"close track/session scsi sendcmd: cmd timeout after 5.000 (480) s"
This happened because we ignored the supplied timeout and used 5s.

It's not completely correct to apply a timeout meant for the complete
command to any single URB, but we don't have many URBs per command, so
this is simple and works.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/ub.c