Tejun Heo 5915136d4d [SCSI] sr: consider the last written sector when determining media size
On certain cases, UDF disc doesn't report capacity correctly via
READ_CAPACITY but TOC or trackinfo contains valid information which
can be obtained using cdrom_get_last_written().  ide-cd considers both
values and uses the larger one.  Do the same in sr.  This fixes
bko#9668.

 http://bugzilla.kernel.org/show_bug.cgi?id=9668

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Milan Kocian <milan.kocian@wq.cz>
Cc: Jan Kara <jack@suse.cz>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-10-02 09:45:46 -05:00
..
2009-06-12 10:02:03 -05:00
2009-08-22 17:52:22 -05:00
2009-05-15 12:23:32 -04:00
2009-05-15 12:24:59 -04:00
2009-05-15 12:24:59 -04:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-04-03 10:17:17 -05:00
2009-08-22 17:51:50 -05:00
2009-08-22 17:52:12 -05:00
2009-06-15 10:09:30 -05:00
2009-09-26 10:17:19 -07:00
2009-08-22 17:52:23 -05:00
2009-09-22 07:17:25 -07:00
2009-09-27 11:39:25 -07:00
2009-06-12 10:02:03 -05:00