From: Christoph Hellwig Date: Thu, 15 Sep 2011 12:01:40 +0000 (+0200) Subject: block: refactor generic_make_request X-Git-Tag: v3.2-rc1~49^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27a84d54c02591e815d291ae0ee4bfb9cfd21065;p=pandora-kernel.git block: refactor generic_make_request Move all the checks performed on a bio into a new helper, and call it as soon as bio is submitted even if it is a re-submission from ->make_request. We explicitly mark the new helper as beeing non-inlined as the stack usage for printing the block device name in the failure case is quite high and this a patch where we have to be extremely conservative about stack usage. Signed-off-by: Christoph Hellwig Signed-off-by: Jens Axboe --- Reading git-diff-tree failed