From: FUJITA Tomonori Date: Tue, 29 Apr 2008 07:54:36 +0000 (+0200) Subject: block: no need to initialize rq->cmd with blk_get_request X-Git-Tag: v2.6.26-rc1~372^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=992b5bceee447a32ef2d617730ae0d03c063eedd;p=pandora-kernel.git block: no need to initialize rq->cmd with blk_get_request blk_get_request initializes rq->cmd (rq_init does) so the users don't need to do that. The purpose of this patch is to remove sizeof(rq->cmd) and &rq->cmd, as a preparation for large command support, which changes rq->cmd from the static array to a pointer. sizeof(rq->cmd) will not make sense and &rq->cmd won't work. Signed-off-by: FUJITA Tomonori Cc: James Bottomley Cc: Alasdair G Kergon Cc: Jens Axboe Signed-off-by: Jens Axboe --- Reading git-diff-tree failed