diff options
author | Tejun Heo <tj@kernel.org> | 2012-02-15 09:45:52 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-02-15 09:45:52 +0100 |
commit | 2274b029f640cd652ab59c363e5beebf5f50e609 (patch) | |
tree | 652a2e774c537b83cd70481a936f5c7485436491 /lib | |
parent | block: replace icq->changed with icq->flags (diff) | |
download | linux-2274b029f640cd652ab59c363e5beebf5f50e609.tar.xz linux-2274b029f640cd652ab59c363e5beebf5f50e609.zip |
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 <tj@kernel.org>
Tested-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions