diff options
| author | Sunwook Eom <[email protected]> | 2020-04-10 03:54:19 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2020-04-16 20:16:38 +0000 |
| commit | ad4e80a639fc61d5ecebb03caa5cdbfb91fcebfc (patch) | |
| tree | 5bf4863ee8befc893f0b283bc5bc198f9886086e /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | dm writecache: fix data corruption when reloading the target (diff) | |
| download | kernel-ad4e80a639fc61d5ecebb03caa5cdbfb91fcebfc.tar.gz kernel-ad4e80a639fc61d5ecebb03caa5cdbfb91fcebfc.zip | |
dm verity fec: fix hash block number in verity_fec_decode
The error correction data is computed as if data and hash blocks
were concatenated. But hash block number starts from v->hash_start.
So, we have to calculate hash block number based on that.
Fixes: a739ff3f543af ("dm verity: add support for forward error correction")
Cc: [email protected]
Signed-off-by: Sunwook Eom <[email protected]>
Reviewed-by: Sami Tolvanen <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
