From: Jiaying Zhang Date: Mon, 17 May 2010 16:36:03 +0000 (+0200) Subject: dquot: Detect partial write error to quota file in write_blk() and add printk_ratelim... X-Git-Tag: v2.6.35-rc1~455^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1907131bbeabb33db313bad34f3ec1a5faedbd64;p=pandora-kernel.git dquot: Detect partial write error to quota file in write_blk() and add printk_ratelimit for quota error messages This patch changes quota_tree.c:write_blk() to detect error caused by partial write to quota file and add a macro to limit control printed quota error messages so we won't fill up dmesg with a corrupted quota file. Signed-off-by: Jiaying Zhang Signed-off-by: Jan Kara --- Reading git-diff-tree failed