diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-28 04:06:11 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 06:14:51 (GMT) |
commit | e091eb67af957bac4e4f7410c5d1aa263ee483a4 (patch) | |
tree | 2be45bf08417bb1e2159f0a7519e9c79ac7d5a8f /drivers/block/swim3.c | |
parent | f81f2f7c9fee307e371f37424577d46f9eaf8692 (diff) | |
download | linux-fsl-qoriq-e091eb67af957bac4e4f7410c5d1aa263ee483a4.tar.xz |
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 'drivers/block/swim3.c')
0 files changed, 0 insertions, 0 deletions