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