mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-05 02:38:20 +00:00
libceph: no need to call flush_workqueue() before destruction
destroy_workqueue() drains the workqueue before proceeding with destruction. Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
a57d9064e4
commit
0d09c57d08
@ -5081,7 +5081,6 @@ out:
|
|||||||
|
|
||||||
void ceph_osdc_stop(struct ceph_osd_client *osdc)
|
void ceph_osdc_stop(struct ceph_osd_client *osdc)
|
||||||
{
|
{
|
||||||
flush_workqueue(osdc->notify_wq);
|
|
||||||
destroy_workqueue(osdc->notify_wq);
|
destroy_workqueue(osdc->notify_wq);
|
||||||
cancel_delayed_work_sync(&osdc->timeout_work);
|
cancel_delayed_work_sync(&osdc->timeout_work);
|
||||||
cancel_delayed_work_sync(&osdc->osds_timeout_work);
|
cancel_delayed_work_sync(&osdc->osds_timeout_work);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user