Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Mikulas Patocka authored
The dm-integrity target did not report errors in bitmap mode just after
creation. The reason is that the function integrity_recalc didn't clean up
ic->recalc_bitmap as it proceeded with recalculation.

Fix this by updating the bitmap accordingly -- the double shift serves
to rounddown.

Signed-off-by: default avatarMikulas Patocka <mpatocka@redhat.com>
Fixes: 468dfca3

 ("dm integrity: add a bitmap mode")
Cc: stable@vger.kernel.org # v5.2+
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
e27fec66
Forked from BeagleBoard.org / Linux
Source project has a limited visibility.
Name Last commit Last update