summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-02-07 19:42:30 +0300
committerMike Snitzer <snitzer@redhat.com>2020-02-25 20:06:06 +0300
commitd5bdf66108419cdb39da361b58ded661c29ff66e (patch)
tree46777deea2038eeef997f1f543144ee175b5df32 /scripts/gdb/linux/utils.py
parent47ace7e012b9f7ad71d43ac9063d335ea3d6820b (diff)
downloadlinux-d5bdf66108419cdb39da361b58ded661c29ff66e.tar.xz
dm integrity: fix recalculation when moving from journal mode to bitmap mode
If we resume a device in bitmap mode and the on-disk format is in journal mode, we must recalculate anything above ic->sb->recalc_sector. Otherwise, there would be non-recalculated blocks which would cause I/O errors. Fixes: 468dfca38b1a ("dm integrity: add a bitmap mode") Cc: stable@vger.kernel.org # v5.2+ Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions