From: Nikitas Angelinas Date: Tue, 18 Oct 2011 14:51:51 +0000 (-0400) Subject: ext4: MMP: fix error message rate-limiting logic in kmmpd X-Git-Tag: v3.2-rc1~85^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdfc230f33a9dab316dcb6be4696ae59e1562e3c;p=pandora-kernel.git ext4: MMP: fix error message rate-limiting logic in kmmpd Current logic would print an error message only once, and then 'failed_writes' would stay at 1. Rework the loop to increment 'failed_writes' and print the error message every s_mmp_update_interval * 60 seconds, as intended according to the comment. Signed-off-by: Nikitas Angelinas Signed-off-by: Andrew Perepechko Signed-off-by: "Theodore Ts'o" Acked-by: Andreas Dilger --- Reading git-diff-tree failed