Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b37ee1b9 authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

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: default avatarIlya Dryomov <idryomov@gmail.com>
parent fe5da05e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment