diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-06 14:37:33 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 16:08:14 -0700 |
commit | 0227d6abb378454e10d385da6a0f8b79a5b02c27 (patch) | |
tree | e85a3019e054d8cbbaa20f0b98a30653a0432701 /fs/cachefiles/main.c | |
parent | 4e1eb88305135248ad0e927449e457df95d8d9b3 (diff) | |
download | linux-0227d6abb378454e10d385da6a0f8b79a5b02c27.tar.gz linux-0227d6abb378454e10d385da6a0f8b79a5b02c27.tar.bz2 linux-0227d6abb378454e10d385da6a0f8b79a5b02c27.zip |
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>
Diffstat (limited to 'fs/cachefiles/main.c')
-rw-r--r-- | fs/cachefiles/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/cachefiles/main.c b/fs/cachefiles/main.c index d45c59c147ce..180edfb45f66 100644 --- a/fs/cachefiles/main.c +++ b/fs/cachefiles/main.c @@ -68,7 +68,7 @@ static int __init cachefiles_init(void) SLAB_HWCACHE_ALIGN, cachefiles_object_init_once); if (!cachefiles_object_jar) { - pr_notice("CacheFiles: Failed to allocate an object jar\n"); + pr_notice("Failed to allocate an object jar\n"); goto error_object_jar; } @@ -76,7 +76,7 @@ static int __init cachefiles_init(void) if (ret < 0) goto error_proc; - pr_info("CacheFiles: Loaded\n"); + pr_info("Loaded\n"); return 0; error_proc: @@ -84,7 +84,7 @@ error_proc: error_object_jar: misc_deregister(&cachefiles_dev); error_dev: - kerror("failed to register: %d", ret); + pr_err("failed to register: %d", ret); return ret; } @@ -95,7 +95,7 @@ fs_initcall(cachefiles_init); */ static void __exit cachefiles_exit(void) { - pr_info("CacheFiles: Unloading\n"); + pr_info("Unloading\n"); cachefiles_proc_cleanup(); kmem_cache_destroy(cachefiles_object_jar); |