summaryrefslogtreecommitdiff
path: root/fs/fscache/cookie.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-05 03:05:38 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 03:53:51 +0400
commit36dfd116edd48fa6174d5694c143f1d4bd81aba8 (patch)
tree140446c2260c5d3a6c49b1102f15ce9cef431448 /fs/fscache/cookie.c
parent8fe6929cfd43c44834858a53e129ffdc7c166298 (diff)
downloadlinux-36dfd116edd48fa6174d5694c143f1d4bd81aba8.tar.xz
fs/fscache: convert printk to pr_foo()
All printk converted to pr_foo() except internal.h: printk(KERN_DEBUG Coalesce formats. Add pr_fmt Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: David Howells <dhowells@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/fscache/cookie.c')
-rw-r--r--fs/fscache/cookie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fscache/cookie.c b/fs/fscache/cookie.c
index 29d7feb62cf7..aec01be91b0a 100644
--- a/fs/fscache/cookie.c
+++ b/fs/fscache/cookie.c
@@ -519,7 +519,7 @@ void __fscache_disable_cookie(struct fscache_cookie *cookie, bool invalidate)
ASSERTCMP(atomic_read(&cookie->n_active), >, 0);
if (atomic_read(&cookie->n_children) != 0) {
- printk(KERN_ERR "FS-Cache: Cookie '%s' still has children\n",
+ pr_err("Cookie '%s' still has children\n",
cookie->def->name);
BUG();
}