History log of /fs/quota/quota_tree.h
Revision Date Author Comments
fb5ffb0e160c93c3fe08ab83845eb9a2768af812 20-Jul-2010 Jiaying Zhang <jiayingz@google.com> quota: Change quota error message to print out disk and function name

The current quota error message doesn't always print the disk name, so
it is hard to identify the "bad" disk when quota error happens.

This patch changes the standardized quota error message to print out disk name
and function name. It also uses a combination of cpp macro and inline function
to provide better type checking and to lower the text size of the message.

[Jan Kara: Export __quota_error]

Signed-off-by: Jiaying Zhang <jiayingz@google.com>
Signed-off-by: Jan Kara <jack@suse.cz>
1907131bbeabb33db313bad34f3ec1a5faedbd64 17-May-2010 Jiaying Zhang <jiayingz@google.com> 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>
884d179dff3aa98a73c3ba9dee05fd6050d664f0 26-Jan-2009 Jan Kara <jack@suse.cz> quota: Move quota files into separate directory

Quota subsystem has more and more files. It's time to create a dir for it.

Signed-off-by: Jan Kara <jack@suse.cz>