diff options
author | Christoph Hellwig <hch@lst.de> | 2010-09-12 23:43:21 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2010-09-21 15:39:42 +0200 |
commit | 581b9e29f36eec5de0779c3dbade980e4405d92e (patch) | |
tree | 8573c8af1a264501851c7d05ed86634375a5e612 /target-sh4 | |
parent | 72aef7318f54f0ec8c84c2bf2bb8edc5702d7dd0 (diff) |
raw-posix: handle > 512 byte alignment correctly
Replace the hardcoded handling of 512 byte alignment with bs->buffer_alignment
to handle larger sector size devices correctly.
Note that we can not rely on it to be initialize in bdrv_open, so deal
with the worst case there.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'target-sh4')
0 files changed, 0 insertions, 0 deletions