diff options
| author | Song Liu <songliubraving@fb.com> | 2016-12-07 20:42:05 +0300 |
|---|---|---|
| committer | Shaohua Li <shli@fb.com> | 2016-12-08 21:34:03 +0300 |
| commit | 5c88f403a5d2bd75911c6faaacc9bea97ac7d121 (patch) | |
| tree | 63a30076fc9664afc1c991dbb72caa3ad73be565 /lib/mpi/mpi-pow.c | |
| parent | d30dfeb9be25c67c9cfdfd932db57a571fd347b4 (diff) | |
| download | linux-5c88f403a5d2bd75911c6faaacc9bea97ac7d121.tar.xz | |
md/raid5-cache: fix crc in rewrite_data_only_stripes()
r5l_recovery_create_empty_meta_block() creates crc for the empty
metablock. After the metablock is updated, we need clear the
checksum before recalculate it.
Shaohua: moved checksum calculation out of
r5l_recovery_create_empty_meta_block. We should calculate it after all fields
are updated.
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions
