commit | 1907131bbeabb33db313bad34f3ec1a5faedbd64 | [log] [tgz] |
---|---|---|
author | Jiaying Zhang <jiayingz@google.com> | Mon May 17 18:36:03 2010 +0200 |
committer | Jan Kara <jack@suse.cz> | Fri May 21 19:30:49 2010 +0200 |
tree | e5561fce158ea6f17406f8f17871af0c61d5cbd5 | |
parent | c06bcbfa1ed8daaeb2a262f372b411207891e229 [diff] |
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 <jiayingz@google.com> Signed-off-by: Jan Kara <jack@suse.cz>