diff options
author | Tejun Heo <[email protected]> | 2009-09-04 11:38:02 +0900 |
---|---|---|
committer | James Bottomley <[email protected]> | 2009-10-02 09:45:46 -0500 |
commit | 5915136d4d3954867cced8a2297bddd16caf36a1 (patch) | |
tree | 4aa0480c498d16db22874c0e6c3cbf7746e23187 /net/lapb/lapb_subr.c | |
parent | 53203244a4f9988f132ef481867ff47d6bd055b5 (diff) |
[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 <[email protected]>
Reported-by: Milan Kocian <[email protected]>
Cc: Jan Kara <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions