mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
88f1b941c5
commit
6bb11dd14f
1 changed files with 20 additions and 25 deletions
Loading…
Add table
Add a link
Reference in a new issue