Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dm cache metadata: Fix loading discard bitset
Add missing dm_bitset_cursor_next() to properly advance the bitset cursor. Otherwise, the discarded state of all blocks is set according to the discarded state of the first block. Fixes: ae4a46a ("dm cache metadata: use bitset cursor api to load discard bitset") Cc: [email protected] Signed-off-by: Nikos Tsironis <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
- Loading branch information