From: Tejun Heo Date: Tue, 28 Apr 2009 04:06:12 +0000 (+0900) Subject: swim3: clean up request completion paths X-Git-Tag: v2.6.31-rc1~389^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467ca759fc83fc35cb7d15aec0d74c62cffc4481;p=pandora-kernel.git 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 Cc: Benjamin Herrenschmidt Signed-off-by: Jens Axboe --- Reading git-diff-tree failed