diff options
| author | Mikulas Patocka <[email protected]> | 2020-08-31 13:25:41 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2020-09-01 20:41:57 +0000 |
| commit | e27fec66f0a94e35a35548bd0b29ae616e62ec62 (patch) | |
| tree | 3d584afed533f1151d72c877a8a590bc5d19c04c /fs/proc/array.c | |
| parent | dm crypt: Initialize crypto wait structures (diff) | |
| download | kernel-e27fec66f0a94e35a35548bd0b29ae616e62ec62.tar.gz kernel-e27fec66f0a94e35a35548bd0b29ae616e62ec62.zip | |
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 <[email protected]>
Fixes: 468dfca38b1a ("dm integrity: add a bitmap mode")
Cc: [email protected] # v5.2+
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
