diff options
author | Yauhen Kharuzhy <jekhor@gmail.com> | 2009-03-26 22:41:09 (GMT) |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2009-04-06 14:22:28 (GMT) |
commit | d8877f191e35718ba11a4d46950131e74c40566c (patch) | |
tree | 1c52c60c4ef35b11a4d74cea99159f562204bcb4 /net/9p | |
parent | 7995c7e94ff4db2ddb865ab42cc5a2e6abbbd71a (diff) | |
download | linux-fsl-qoriq-d8877f191e35718ba11a4d46950131e74c40566c.tar.xz |
[MTD] mtdpart: Make ecc_stats more realistic.
In the existing implementation, ecc_stats fields are incremented only by
one, regardless of master mtd errors number. For example, if there are N
errors were corrected by ECC, partition ecc_stats.corrected will be
incremented by one.
This commit changes simple increment to sum of old value and parent mtd
error count.
Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'net/9p')
0 files changed, 0 insertions, 0 deletions