]> git.baikalelectronics.ru Git - kernel.git/commit
ide-tape: use byte size instead of sectors on rw issue functions
authorTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:03 +0000 (08:46 +0900)
committerTejun Heo <tj@kernel.org>
Sat, 18 Apr 2009 23:46:03 +0000 (08:46 +0900)
commit6a09da1f8cedb169bcd5890904b2fbd93bcb934e
tree804b2032537e47d21f577fd849355a191faf715b
parent16c4aa8dfabd35c50498a0546d5db06a163fe2e6
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>
drivers/ide/ide-tape.c