]> git.hungrycats.org Git - linux/commit
dm thin: Add missing destroy_work_on_stack()
authorYuan Can <yuancan@huawei.com>
Wed, 6 Nov 2024 01:03:12 +0000 (09:03 +0800)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 20 Nov 2024 10:38:05 +0000 (11:38 +0100)
commite74fa2447bf9ed03d085b6d91f0256cc1b53f1a8
treeffcc6c53d988b391f394fd72cc73e0f04e2c61ae
parentd5f01ace542de62af857fa0bd405cc16f2c45bd6
dm thin: Add missing destroy_work_on_stack()

This commit add missed destroy_work_on_stack() operations for pw->worker in
pool_work_wait().

Fixes: e7a3e871d895 ("dm thin: cleanup noflush_work to use a proper completion")
Cc: stable@vger.kernel.org
Signed-off-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
drivers/md/dm-thin.c