Tejun Heo ac8672ea92 libata: fix off-by-one error in ata_tf_read_block()
ata_tf_read_block() has off-by-one error when converting CHS address
to LBA.  The bug isn't very visible because ata_tf_read_block() is
used only when generating sense data for a failed RW command and CHS
addressing isn't used too often these days.

This problem was spotted by Atsushi Nemoto.

Signed-off-by: Tejun Heo <tj@kernel.org>
Reported-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2009-09-08 21:18:03 -04:00
..
2009-06-05 17:10:54 -04:00
2009-03-24 22:45:05 -04:00
2009-08-12 06:16:47 -04:00
2009-06-05 14:40:52 -04:00
2009-03-28 20:29:51 +00:00
2009-06-08 09:12:28 -07:00
2009-07-28 21:05:18 -04:00
2009-06-23 01:54:27 -04:00
2009-09-08 21:17:36 -04:00