diff options
| author | Wang ShaoBo <[email protected]> | 2022-11-24 09:58:17 +0800 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2022-11-24 06:42:22 -0700 |
| commit | 8692814b77ca4228a99da8a005de0acf40af6132 (patch) | |
| tree | 89f8393ae60c1d2e084d38af3735e9179f0a9a4d /net/switchdev/switchdev.c | |
| parent | 6e7b854e4c1b02dba00760dfa79d8dbf6cce561e (diff) | |
drbd: destroy workqueue when drbd device was freed
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions