quota: Use %pV and __attribute__((format (printf in __quota_error and fix fallout
authorJoe Perches <joe@perches.com>
Wed, 24 Nov 2010 02:49:54 +0000 (18:49 -0800)
committerJan Kara <jack@suse.cz>
Mon, 10 Jan 2011 18:04:05 +0000 (19:04 +0100)
commit055adcbd7da75868697e767adc4f3272f6cae76c
tree613866918d108adf8536a0d0aab0f1d3bc2c5072
parent9c52749232b5cef506877ac633ea14083bd17e02
quota: Use %pV and __attribute__((format (printf in __quota_error and fix fallout

Use %pV in __quota_error so a single printk can not be
interleaved with other logging messages.
Add __attribute__((format (printf, 3, 4))) so format
and arguments can be verified by compiler.
Make sure printk formats and arguments match.

Block # needed a pointer dereference.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/quota/dquot.c
fs/quota/quota_tree.c
include/linux/quotaops.h