commit | e28adc3bf34e434b30e8d063df4823ba0f3e0529 | [log] [tgz] |
---|---|---|
author | Nikos Tsironis <ntsironis@arrikto.com> | Wed Apr 17 17:19:18 2019 +0300 |
committer | Mike Snitzer <snitzer@redhat.com> | Thu Apr 18 16:18:25 2019 -0400 |
tree | 17143feaa65a09238fef20063b64d088afeb0a1f | |
parent | 7aedf75ff740a98f3683439449cd91c8662d03b2 [diff] |
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: ae4a46a1f6 ("dm cache metadata: use bitset cursor api to load discard bitset") Cc: stable@vger.kernel.org Signed-off-by: Nikos Tsironis <ntsironis@arrikto.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>