Files
linux-stable-mirror/drivers/md
Mike Snitzer fd52b86a72 dm cache: set needs_check flag after aborting metadata
commit 6b9973861c upstream.

Otherwise the commit that will be aborted will be associated with the
metadata objects that will be torn down.  Must write needs_check flag
to metadata with a reset block manager.

Found through code-inspection (and compared against dm-thin.c).

Cc: stable@vger.kernel.org
Fixes: 028ae9f76f ("dm cache: add fail io mode and needs_check flag")
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-12 11:58:53 +01:00
..
2023-01-12 11:58:47 +01:00
2022-10-26 12:35:12 +02:00