summaryrefslogtreecommitdiffstats
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2012-02-11 12:37:25 +0100
committerJens Axboe <axboe@kernel.dk>2012-02-11 12:37:25 +0100
commitd8c66c5d59247e25a69428aced0b79d33b9c66d6 (patch)
tree1aed7dc560df36157d8cde6fdebc1d86f4ed61ad /scripts/coccinelle
parentf6302f1bcd75a042df69866d98b8d775a668f8f1 (diff)
downloadop-kernel-dev-d8c66c5d59247e25a69428aced0b79d33b9c66d6.zip
op-kernel-dev-d8c66c5d59247e25a69428aced0b79d33b9c66d6.tar.gz
block: fix lockdep warning on io_context release put_io_context()
11a3122f6c "block: strip out locking optimization in put_io_context()" removed ioc_lock depth lockdep annoation along with locking optimization; however, while recursing from put_io_context() is no longer possible, ioc_release_fn() may still end up putting the last reference of another ioc through elevator, which wlil grab ioc->lock triggering spurious (as the ioc is always different one) A-A deadlock warning. As this can only happen one time from ioc_release_fn(), using non-zero subclass from ioc_release_fn() is enough. Use subclass 1. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/coccinelle')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud