aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index 8b66e04c2ea6..b12b3776c0c0 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -6266,7 +6266,7 @@ static void status_resync(struct seq_file *seq, mddev_t * mddev)
6266 * rt is a sector_t, so could be 32bit or 64bit. 6266 * rt is a sector_t, so could be 32bit or 64bit.
6267 * So we divide before multiply in case it is 32bit and close 6267 * So we divide before multiply in case it is 32bit and close
6268 * to the limit. 6268 * to the limit.
6269 * We scale the divisor (db) by 32 to avoid loosing precision 6269 * We scale the divisor (db) by 32 to avoid losing precision
6270 * near the end of resync when the number of remaining sectors 6270 * near the end of resync when the number of remaining sectors
6271 * is close to 'db'. 6271 * is close to 'db'.
6272 * We then divide rt by 32 after multiplying by db to compensate. 6272 * We then divide rt by 32 after multiplying by db to compensate.