dquot: Detect partial write error to quota file in write_blk() and add printk_ratelim...
authorJiaying Zhang <jiayingz@google.com>
Mon, 17 May 2010 16:36:03 +0000 (18:36 +0200)
committerJan Kara <jack@suse.cz>
Fri, 21 May 2010 17:30:49 +0000 (19:30 +0200)
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>

No differences found