]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: cosmetic: fix accidental division instead of modulo when pretty printing
authorLars Ellenberg <lars.ellenberg@linbit.com>
Fri, 3 Jun 2011 19:13:17 +0000 (21:13 +0200)
committerPhilipp Reisner <philipp.reisner@linbit.com>
Wed, 9 May 2012 08:01:39 +0000 (10:01 +0200)
commite308850b994c03af8f4ba916a3bf08f9f32b0682
treebb4dc384be382a482cb96579906da8905123fb3a
parent86541dd621357314be4b7f82f1432c0fb1c12bfc
drbd: cosmetic: fix accidental division instead of modulo when pretty printing

For large resync rates, seq_printf_with_thousands_grouping()
accidentally only produced Y,000,00Y, instead of the real numbers.

Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
drivers/block/drbd/drbd_proc.c