diff options
author | Mike Snitzer <snitzer@kernel.org> | 2022-11-30 14:02:47 -0500 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2022-12-01 11:43:41 -0500 |
commit | 6b9973861cb2e96dcd0bb0f1baddc5c034207c5c (patch) | |
tree | 000f275ee181f28052a58e10e2a5af1e0cbb2cd8 /sound/core/memalloc.c | |
parent | 352b837a5541690d4f843819028cf2b8be83d424 (diff) | |
download | linux-6b9973861cb2e96dcd0bb0f1baddc5c034207c5c.tar.bz2 |
dm cache: set needs_check flag after aborting metadata
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: 028ae9f76f29 ("dm cache: add fail io mode and needs_check flag")
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Diffstat (limited to 'sound/core/memalloc.c')
0 files changed, 0 insertions, 0 deletions