Pete Zaitcev d1ad4ea331 USB: UB: Let cdrecord to see a device with media absent
The command "cdrecord dev=/dev/uba x.iso" prints nasty garbage if a blank
is not in the drive. This happens because drivers have to set req->errors
separately from just returning zero uptodate with end_that_request_first,
end_that_request_last. These functions only set error in BIO, but sg_io()
ignores it.

Since we're on it, let cdrecord access a device when ->changed is set.
It's useful if someone wants to know device capabilities without burning
anything.

Signed-Off-By: Pete Zaitcev <zaitcev@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:57 -07:00
..
2006-07-10 13:24:25 -07:00
2006-03-25 08:22:52 -08:00
2006-08-06 15:59:26 -05:00
2005-04-16 15:20:36 -07:00
2006-09-13 07:32:16 -07:00
2005-04-16 15:20:36 -07:00
2006-08-04 09:29:17 -04:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-07-14 21:53:53 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00