commit | 4344d07fb8dbf0cbfec1f7d7c1afeccaceaaa120 | [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 | 40a0dccbf1b9100efa71971b930f15e1b2daef1e | |
parent | 71294cf93d22ceaa75448cc6ebee2c65897be8c2 [diff] |
ide-tape: simplify read/write functions Impact: cleanup idetape_chrdev_read/write() functions are unnecessarily complex when everything can be handled in a single loop. Collapse idetape_add_chrdev_read/write_request() into the rw functions and simplify the implementation. Signed-off-by: Tejun Heo <tj@kernel.org>