diff options
author | Wang ShaoBo | 2022-11-24 09:58:17 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:32:15 +0100 |
commit | a999525c7b69e10c7fceaa749fe6b24b9b1ec0f0 (patch) | |
tree | 2784aca56d069fa5f885517481083ea451480dbc /net/bluetooth/amp.c | |
parent | 6c4c5d5e4a0de5d21ead41a021ce5b59813e4273 (diff) |
drbd: destroy workqueue when drbd device was freed
[ Upstream commit 8692814b77ca4228a99da8a005de0acf40af6132 ]
A submitter workqueue is dynamically allocated by init_submitter()
called by drbd_create_device(), we should destroy it when this
device is not needed or destroyed.
Fixes: 113fef9e20e0 ("drbd: prepare to queue write requests on a submit worker")
Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com>
Link: https://lore.kernel.org/r/20221124015817.2729789-3-bobo.shaobowang@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/bluetooth/amp.c')
0 files changed, 0 insertions, 0 deletions