commit | 26a122d3d47205969ca9e4cdba13adc2b2929d8c | [log] [tgz] |
---|---|---|
author | Eric Blake <eblake@redhat.com> | Fri May 06 10:26:41 2016 -0600 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu May 12 15:22:09 2016 +0200 |
tree | 7ca7faa1ea0a27a5e5804f6abb212dce4aa66dab | |
parent | 243e6f69c129303cb7f161466e989722e9d7e02f [diff] |
atapi: Switch to byte-based block access Sector-based blk_read() should die; switch to byte-based blk_pread() instead. Add new defines ATAPI_SECTOR_BITS and ATAPI_SECTOR_SIZE to use anywhere we were previously scaling BDRV_SECTOR_* by 4, for better legibility. Signed-off-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>