From: Mike Snitzer Date: Tue, 25 May 2010 17:15:15 +0000 (-0400) Subject: block: make blk_init_free_list and elevator_init idempotent X-Git-Tag: v2.6.35-rc2~12^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1abec4fdbb142e3ccb6ce99832fae42129134a96;p=pandora-kernel.git block: make blk_init_free_list and elevator_init idempotent blk_init_allocated_queue_node may fail and the caller _could_ retry. Accommodate the unlikely event that blk_init_allocated_queue_node is called on an already initialized (possibly partially) request_queue. Signed-off-by: Mike Snitzer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed