commit | 71294cf93d22ceaa75448cc6ebee2c65897be8c2 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Apr 19 08:46:03 2009 +0900 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Apr 28 07:37:32 2009 +0200 |
tree | a57f2b7ceea1fc490234aa8474b89ade9e262da3 | |
parent | 3596b66452491a3cff26256a5e6e6061a66c4142 [diff] |
ide-tape: use byte size instead of sectors on rw issue functions Impact: cleanup Byte size is what most issue functions deal with, make idetape_queue_rw_tail() and its wrappers take byte size instead of sector counts. idetape_chrdev_read() and write() functions are converted to use tape->buffer_size instead of ctl from tape->cap. This cleans up code a little bit and will ease the next r/w reimplementation. Signed-off-by: Tejun Heo <tj@kernel.org>