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)
commit1381e9a4969d8d24ce7b4bab048f3cb3fc9c1283
treebb4dc384be382a482cb96579906da8905123fb3a
parentebd2b0cde5a4c02e2999fc3dc4a59fdd8a040fb6
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