quota: Change quota error message to print out disk and function name
authorJiaying Zhang <jiayingz@google.com>
Tue, 20 Jul 2010 14:54:43 +0000 (16:54 +0200)
committerJan Kara <jack@suse.cz>
Wed, 21 Jul 2010 14:05:58 +0000 (16:05 +0200)
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>

No differences found