summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/interface.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-06 23:37:32 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-07 01:08:14 +0200
commit4e1eb88305135248ad0e927449e457df95d8d9b3 (patch)
tree5751bb25a6bec21e9863d8f554cb2ae55e99160c /fs/cachefiles/interface.c
parentfs/pstore: logging clean-up (diff)
downloadlinux-4e1eb88305135248ad0e927449e457df95d8d9b3.tar.xz
linux-4e1eb88305135248ad0e927449e457df95d8d9b3.zip
FS/CACHEFILES: convert printk to pr_foo()
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/cachefiles/interface.c')
-rw-r--r--fs/cachefiles/interface.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/cachefiles/interface.c b/fs/cachefiles/interface.c
index 57e17fe6121a..e47a8d87852f 100644
--- a/fs/cachefiles/interface.c
+++ b/fs/cachefiles/interface.c
@@ -146,8 +146,7 @@ static int cachefiles_lookup_object(struct fscache_object *_object)
if (ret < 0 && ret != -ETIMEDOUT) {
if (ret != -ENOBUFS)
- printk(KERN_WARNING
- "CacheFiles: Lookup failed error %d\n", ret);
+ pr_warn("CacheFiles: Lookup failed error %d\n", ret);
fscache_object_lookup_error(&object->fscache);
}