Searched hist:b37ee1b9 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/ceph/ |
H A D | osd_client.c | b37ee1b9 Thu Apr 28 09:07:24 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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> b37ee1b9 Thu Apr 28 09:07:24 CDT 2016 Ilya Dryomov <idryomov@gmail.com> 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>
|