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>
Thu, 8 Nov 2012 15:57:43 +0000 (16:57 +0100)
commitfc251d5c2466413fdd6851e6c3f63e9851bf9d84
tree29a4afaf6300ab924e068f01adac8a61f8cd2adf
parent46530e859c730984967b6e9e9cac722470096e18
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