diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2018-05-18 19:34:45 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2018-06-04 20:45:57 +0200 |
commit | 0d09c57d0846537332d3649eef7e01960ffdc574 (patch) | |
tree | df9f1333574b788c46924c29c4501132d409a297 /net/ceph | |
parent | a57d9064e4ee4e9882b922d0627be3d426004c69 (diff) | |
download | linux-0d09c57d0846537332d3649eef7e01960ffdc574.tar.gz linux-0d09c57d0846537332d3649eef7e01960ffdc574.tar.bz2 linux-0d09c57d0846537332d3649eef7e01960ffdc574.zip |
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>
Diffstat (limited to 'net/ceph')
-rw-r--r-- | net/ceph/osd_client.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ceph/osd_client.c b/net/ceph/osd_client.c index a7e090d2c957..bcedeea80cd5 100644 --- a/net/ceph/osd_client.c +++ b/net/ceph/osd_client.c @@ -5081,7 +5081,6 @@ out: void ceph_osdc_stop(struct ceph_osd_client *osdc) { - flush_workqueue(osdc->notify_wq); destroy_workqueue(osdc->notify_wq); cancel_delayed_work_sync(&osdc->timeout_work); cancel_delayed_work_sync(&osdc->osds_timeout_work); |