From: Hannes Reinecke Date: Wed, 18 Feb 2009 09:30:15 +0000 (+0100) Subject: block: fix deadlock in blk_abort_queue() for drivers that readd to timeout list X-Git-Tag: v2.6.29-rc6~40^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be987fdb55a4726e2fcbab7501f89276bdb57288;p=pandora-kernel.git block: fix deadlock in blk_abort_queue() for drivers that readd to timeout list blk_abort_queue() iterates the timeout list and aborts each request on the list, but if the driver error handling readds a request to the timeout list during this processing, we could be looping forever. Fix this by splicing current entries to a local list and run over that list instead. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed