summaryrefslogtreecommitdiffstats
path: root/net/irda/qos.c
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2016-04-28 16:07:24 +0200
committerIlya Dryomov <idryomov@gmail.com>2016-05-26 00:36:28 +0200
commitb37ee1b9b840a6da63e78865f97a9a78b7534477 (patch)
tree7fb861b2779b2e9e83af367a0f33a4b3893e3258 /net/irda/qos.c
parentfe5da05e979830b43b115d8a18ead521d507c783 (diff)
downloadop-kernel-dev-b37ee1b9b840a6da63e78865f97a9a78b7534477.zip
op-kernel-dev-b37ee1b9b840a6da63e78865f97a9a78b7534477.tar.gz
libceph: move schedule_delayed_work() in ceph_osdc_init()
ceph_osdc_stop() isn't called if ceph_osdc_init() fails, so we end up with handle_osds_timeout() running on invalid memory if any one of the allocations fails. Call schedule_delayed_work() after everything is setup, just before returning. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'net/irda/qos.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud