Skip to content
Commit 6bb11dd1 authored by Tejun Heo's avatar Tejun Heo
Browse files

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: default avatarTejun Heo <tj@kernel.org>
parent 88f1b941
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment