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)
commitfb5ffb0e160c93c3fe08ab83845eb9a2768af812
tree1f3488ab93f21a30f9a60f612de63adce3ce1599
parent01971952582068c4eaaef7410f32d16daa178a0d
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>
fs/quota/dquot.c
fs/quota/quota_tree.c
fs/quota/quota_tree.h
fs/quota/quota_v1.c
fs/quota/quota_v2.c
include/linux/quotaops.h