From: FUJITA Tomonori Date: Fri, 25 Apr 2008 10:26:28 +0000 (+0200) Subject: block: make rq_init() do a full memset() X-Git-Tag: v2.6.26-rc1~372^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1afb20f30151dd4160877c827f5b7203f98627fb;p=pandora-kernel.git block: make rq_init() do a full memset() This requires moving rq_init() from get_request() to blk_alloc_request(). The upside is that we can now require an rq_init() from any path that wishes to hand the request to the block layer. rq_init() will be exported for the code that uses struct request without blk_get_request. This is a preparation for large command support, which needs to initialize struct request in a proper way (that is, just doing a memset() will not work). Signed-off-by: FUJITA Tomonori Signed-off-by: Jens Axboe --- Reading git-diff-tree failed