summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-mpath.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2023-02-14 19:06:05 +0100
committerMike Snitzer <snitzer@kernel.org>2023-02-14 20:23:08 +0100
commit0b22ff5360f5c4e11050b89206370fdf7dc0a226 (patch)
tree63b6bf8ea6d1e4aad9718703233ac41de7187d25 /drivers/md/dm-mpath.c
parentdm clone: prefer kvmalloc_array() (diff)
downloadlinux-0b22ff5360f5c4e11050b89206370fdf7dc0a226.tar.xz
linux-0b22ff5360f5c4e11050b89206370fdf7dc0a226.zip
dm: remove flush_scheduled_work() during local_exit()
Commit acfe0ad74d2e1 ("dm: allocate a special workqueue for deferred device removal") switched from using system workqueue to a single workqueue local to DM. But it didn't eliminate the call to flush_scheduled_work() that was introduced purely for the benefit of deferred device removal with commit 2c140a246dc ("dm: allow remove to be deferred"). Since DM core uses its own workqueue (and queue_work) there is no need to call flush_scheduled_work() from local_exit(). local_exit()'s destroy_workqueue(deferred_remove_workqueue) handles flushing work started with queue_work(). Fixes: acfe0ad74d2e1 ("dm: allocate a special workqueue for deferred device removal") Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'drivers/md/dm-mpath.c')
0 files changed, 0 insertions, 0 deletions