summaryrefslogtreecommitdiff
path: root/drivers/net/wan/lapbether.c
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-08-31 16:25:41 +0300
committerMike Snitzer <snitzer@redhat.com>2020-09-01 23:41:57 +0300
commite27fec66f0a94e35a35548bd0b29ae616e62ec62 (patch)
tree3d584afed533f1151d72c877a8a590bc5d19c04c /drivers/net/wan/lapbether.c
parent7785a9e4c228db6d01086a52d5685cd7336a08b7 (diff)
downloadlinux-e27fec66f0a94e35a35548bd0b29ae616e62ec62.tar.xz
dm integrity: fix error reporting in bitmap mode after creation
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: Mikulas Patocka <mpatocka@redhat.com> Fixes: 468dfca38b1a ("dm integrity: add a bitmap mode") Cc: stable@vger.kernel.org # v5.2+ Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/net/wan/lapbether.c')
0 files changed, 0 insertions, 0 deletions