aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_sas.h
diff options
context:
space:
mode:
authorYauhen Kharuzhy <[email protected]>2009-03-27 00:41:09 +0200
committerDavid Woodhouse <[email protected]>2009-04-06 07:22:28 -0700
commitd8877f191e35718ba11a4d46950131e74c40566c (patch)
tree1c52c60c4ef35b11a4d74cea99159f562204bcb4 /drivers/scsi/mpt2sas/mpi/mpi2_sas.h
parent7995c7e94ff4db2ddb865ab42cc5a2e6abbbd71a (diff)
[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 <[email protected]> Signed-off-by: David Woodhouse <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_sas.h')
0 files changed, 0 insertions, 0 deletions