fs/cachefiles: replace kerror by pr_err

Also add pr_fmt in internal.h

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>
This commit is contained in:
Fabian Frederick
2014-06-06 14:37:33 -07:00
committed by Linus Torvalds
parent 4e1eb88305
commit 0227d6abb3
8 changed files with 58 additions and 54 deletions

View File

@@ -146,7 +146,7 @@ static int cachefiles_lookup_object(struct fscache_object *_object)
if (ret < 0 && ret != -ETIMEDOUT) {
if (ret != -ENOBUFS)
pr_warn("CacheFiles: Lookup failed error %d\n", ret);
pr_warn("Lookup failed error %d\n", ret);
fscache_object_lookup_error(&object->fscache);
}