]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2024 09:41:08 +0000 (10:41 +0100)
commita4ee8ff0763694ceb9d9b60795d62eee1389360b
tree331b0deb6cba9fcb9f565a96defdbf9e9c95b647
parent3cad6b5a12782b33d3e7ffcde5fe73148703fd46
dm thin: Add missing destroy_work_on_stack()

commit e74fa2447bf9ed03d085b6d91f0256cc1b53f1a8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/dm-thin.c