commit | 07bd9686c50c2b1f10e48089d4fb836a971f5177 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Sun Apr 19 08:46:03 2009 +0900 |
committer | Tejun Heo <tj@kernel.org> | Sun Apr 19 08:46:03 2009 +0900 |
tree | 8a7b822752850ad43508d8c358ed45ca030a1894 | |
parent | 6bb11dd14f70228f8dab25fd25dabeb9bc74926d [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>