6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Yuan Can <yuancan@xxxxxxxxxx> commit 6012169e8aae9c0eda38bbedcd7a1540a81220ae upstream. This commit add missed destroy_work_on_stack() operations for unplug_work.work in bitmap_unplug_async(). Fixes: a022325ab970 ("md/md-bitmap: add a new helper to unplug bitmap asynchrously") Cc: stable@xxxxxxxxxxxxxxx Signed-off-by: Yuan Can <yuancan@xxxxxxxxxx> Reviewed-by: Yu Kuai <yukuai3@xxxxxxxxxx> Link: https://lore.kernel.org/r/20241105130105.127336-1-yuancan@xxxxxxxxxx Signed-off-by: Song Liu <song@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/md/md-bitmap.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/md/md-bitmap.c +++ b/drivers/md/md-bitmap.c @@ -1089,6 +1089,7 @@ void md_bitmap_unplug_async(struct bitma queue_work(md_bitmap_wq, &unplug_work.work); wait_for_completion(&done); + destroy_work_on_stack(&unplug_work.work); } EXPORT_SYMBOL(md_bitmap_unplug_async);