summaryrefslogtreecommitdiffstats
path: root/Documentation/isdn/INTERFACE.CAPI
diff options
context:
space:
mode:
authorLouis Rilling <louis.rilling@kerlabs.com>2009-12-04 14:52:41 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-12-04 16:36:18 +0100
commit61cc74fbb87af6aa551a06a370590c9bc07e29d9 (patch)
tree351116a74bba13b016c730f777eca86b3b197e5e /Documentation/isdn/INTERFACE.CAPI
parentcfq-iosched: make nonrot check logic consistent (diff)
downloadlinux-61cc74fbb87af6aa551a06a370590c9bc07e29d9.tar.xz
linux-61cc74fbb87af6aa551a06a370590c9bc07e29d9.zip
block: Fix io_context leak after clone with CLONE_IO
With CLONE_IO, copy_io() increments both ioc->refcount and ioc->nr_tasks. However exit_io_context() only decrements ioc->refcount if ioc->nr_tasks reaches 0. Always call put_io_context() in exit_io_context(). Signed-off-by: Louis Rilling <louis.rilling@kerlabs.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'Documentation/isdn/INTERFACE.CAPI')
0 files changed, 0 insertions, 0 deletions