Tejun Heo 467ca759fc swim3: clean up request completion paths
swim3 curiously tries to update request parameters before calling
__blk_end_request() when __blk_end_request() will do it anyway, and it
updates request for partial completion manually instead of using
blk_update_request().  Also, it does some spurious checks on rq such
as testing whether rq->sector is negative or current_nr_sectors is
zero right after fetching.

Drop unnecessary stuff and use standard block layer mechanisms.

[ Impact: cleanup ]

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
2009-04-28 08:14:51 +02:00
..
2009-04-21 13:41:51 -07:00
2009-04-13 15:04:29 -07:00
2009-04-17 10:50:27 -07:00
2009-04-05 00:32:25 +02:00
2009-04-01 08:59:23 -07:00
2009-04-21 13:41:50 -07:00
2009-04-28 07:37:36 +02:00
2009-04-24 07:52:08 -07:00
2009-04-21 13:41:49 -07:00
2009-03-27 20:13:20 -04:00
2009-04-05 00:32:22 +02:00
2009-04-08 14:25:51 -07:00