diff options
| author | Tejun Heo <tj@kernel.org> | 2009-04-28 13:06:11 +0900 |
|---|---|---|
| committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 08:14:51 +0200 |
| commit | e091eb67af957bac4e4f7410c5d1aa263ee483a4 (patch) | |
| tree | 2be45bf08417bb1e2159f0a7519e9c79ac7d5a8f /lib/parser.c | |
| parent | f81f2f7c9fee307e371f37424577d46f9eaf8692 (diff) | |
hd: clean up request completion paths
hd read/write_intr() functions manually manipulate request to
incrementally complete it, which block layer already supports. Simply
use block layer completion routines instead of manual partial
completion.
While at it, clear unnecessary elv_next_request() check at the tail of
read_intr(). This also makes read and write_intr() more consistent.
[ Impact: cleanup ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions
