linux/drivers/md/dm-ebs-target.c
Mikulas Patocka a1a4fdc33d dm-ebs: fix prefetch-vs-suspend race
commit 9c56542878 upstream.

There's a possible race condition in dm-ebs - dm bufio prefetch may be in
progress while the device is suspended. Fix this by calling
dm_bufio_client_reset in the postsuspend hook.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-04-20 10:15:53 +02:00

466 lines
12 KiB