From: Bart Van Assche Date: Wed, 28 Nov 2012 12:43:38 +0000 (+0100) Subject: block: Let blk_drain_queue() caller obtain the queue lock X-Git-Tag: v3.8-rc1~81^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807592a4fafba1fea6e98b9cf1fb02b7c38fb24c;p=pandora-kernel.git block: Let blk_drain_queue() caller obtain the queue lock Let the caller of blk_drain_queue() obtain the queue lock to improve readability of the patch called "Avoid that request_fn is invoked on a dead queue". Signed-off-by: Bart Van Assche Acked-by: Tejun Heo Cc: James Bottomley Cc: Mike Christie Cc: Jens Axboe Cc: Chanho Min Signed-off-by: Jens Axboe --- Reading git-diff-tree failed