diff options
author | 2014-06-04 16:05:38 -0700 | |
---|---|---|
committer | 2014-06-04 16:53:51 -0700 | |
commit | 36dfd116edd48fa6174d5694c143f1d4bd81aba8 (patch) | |
tree | 140446c2260c5d3a6c49b1102f15ce9cef431448 /fs/fscache/main.c | |
parent | kthread: fix return value of kthread_create() upon SIGKILL. (diff) | |
download | linux-36dfd116edd48fa6174d5694c143f1d4bd81aba8.tar.gz linux-36dfd116edd48fa6174d5694c143f1d4bd81aba8.tar.bz2 linux-36dfd116edd48fa6174d5694c143f1d4bd81aba8.zip |
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/main.c')
-rw-r--r-- | fs/fscache/main.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/fscache/main.c b/fs/fscache/main.c index 7c27907e650c..acd4bf1fc277 100644 --- a/fs/fscache/main.c +++ b/fs/fscache/main.c @@ -146,8 +146,7 @@ static int __init fscache_init(void) 0, fscache_cookie_init_once); if (!fscache_cookie_jar) { - printk(KERN_NOTICE - "FS-Cache: Failed to allocate a cookie jar\n"); + pr_notice("Failed to allocate a cookie jar\n"); ret = -ENOMEM; goto error_cookie_jar; } @@ -156,7 +155,7 @@ static int __init fscache_init(void) if (!fscache_root) goto error_kobj; - printk(KERN_NOTICE "FS-Cache: Loaded\n"); + pr_notice("Loaded\n"); return 0; error_kobj: @@ -192,7 +191,7 @@ static void __exit fscache_exit(void) fscache_proc_cleanup(); destroy_workqueue(fscache_op_wq); destroy_workqueue(fscache_object_wq); - printk(KERN_NOTICE "FS-Cache: Unloaded\n"); + pr_notice("Unloaded\n"); } module_exit(fscache_exit); |