From: Tejun Heo Date: Wed, 15 Feb 2012 08:45:52 +0000 (+0100) Subject: block: simplify ioc_release_fn() X-Git-Tag: v3.3~15^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2274b029f640cd652ab59c363e5beebf5f50e609;p=pandora-kernel.git block: simplify ioc_release_fn() Reverse double lock dancing in ioc_release_fn() can be simplified by just using trylock on the queue_lock and back out from ioc lock on trylock failure. Simplify it. Signed-off-by: Tejun Heo Tested-by: Shaohua Li Signed-off-by: Jens Axboe --- Reading git-diff-tree failed