git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d705ae6
)
block: simplify ioc_release_fn()
author
Tejun Heo
<tj@kernel.org>
Wed, 15 Feb 2012 08:45:52 +0000
(09:45 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Wed, 15 Feb 2012 08:45:52 +0000
(09:45 +0100)
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 <tj@kernel.org>
Tested-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
No differences found