[PATCH] quota: make useless quota error message informative
authorValdis.Kletnieks@vt.edu <Valdis.Kletnieks@vt.edu>
Sat, 14 Jan 2006 21:21:10 +0000 (13:21 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 15 Jan 2006 02:27:12 +0000 (18:27 -0800)
commit3135806358e8d3d8ac61a13f58f148d0a98a7b9b
tree42723acbd28e943267cc303a45380671a925c29a
parentd9975d6ba0668aa21d9f0c565d7df56c805c8d5c
[PATCH] quota: make useless quota error message informative

fs/quota_v2.c can, under some conditions, issue a kernel message that says,
in totality, 'failed read'.  This patch does the following:

1) Gives a hint who issued the error message, so people reading the logs
   don't have to go grepping the entire kernel tree (with 11 false
   positives).

2) Say what amount of data we expected, and actually got.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Cc: Jan Kara <jack@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/quota_v2.c