diff options
| author | Zhengyuan Liu <liuzhengyuan@kylinos.cn> | 2016-10-24 04:55:20 +0300 |
|---|---|---|
| committer | Shaohua Li <shli@fb.com> | 2016-10-25 01:28:18 +0300 |
| commit | 28cd88e2b4c54a466dcae7eea1efac766d42386b (patch) | |
| tree | 6b4d215745f50e64aee78d25cfbb77cb593c18cd /lib/mpi/mpiutil.c | |
| parent | 579ed34f7b751b8add233cba4cf755258dbdd60a (diff) | |
| download | linux-28cd88e2b4c54a466dcae7eea1efac766d42386b.tar.xz | |
md/raid5: initialize next_checkpoint field before use
No initial operation was done to this field when we
load/recovery the log, it got assignment only when IO
to raid disk was finished. So r5l_quiesce may use wrong
next_checkpoint to reclaim log space, that would make
reclaimable space calculation confused.
Signed-off-by: Zhengyuan Liu <liuzhengyuan@kylinos.cn>
Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
