summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/main.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-06 17:37:32 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-06 19:08:14 -0400
commit4e1eb88305135248ad0e927449e457df95d8d9b3 (patch)
tree5751bb25a6bec21e9863d8f554cb2ae55e99160c /fs/cachefiles/main.c
parentef74885353e0ee4d884604148628df3369c76719 (diff)
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/main.c')
-rw-r--r--fs/cachefiles/main.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/cachefiles/main.c b/fs/cachefiles/main.c
index 4bfa8cf43bf5..d45c59c147ce 100644
--- a/fs/cachefiles/main.c
+++ b/fs/cachefiles/main.c
@@ -68,8 +68,7 @@ static int __init cachefiles_init(void)
68 SLAB_HWCACHE_ALIGN, 68 SLAB_HWCACHE_ALIGN,
69 cachefiles_object_init_once); 69 cachefiles_object_init_once);
70 if (!cachefiles_object_jar) { 70 if (!cachefiles_object_jar) {
71 printk(KERN_NOTICE 71 pr_notice("CacheFiles: Failed to allocate an object jar\n");
72 "CacheFiles: Failed to allocate an object jar\n");
73 goto error_object_jar; 72 goto error_object_jar;
74 } 73 }
75 74
@@ -77,7 +76,7 @@ static int __init cachefiles_init(void)
77 if (ret < 0) 76 if (ret < 0)
78 goto error_proc; 77 goto error_proc;
79 78
80 printk(KERN_INFO "CacheFiles: Loaded\n"); 79 pr_info("CacheFiles: Loaded\n");
81 return 0; 80 return 0;
82 81
83error_proc: 82error_proc:
@@ -96,7 +95,7 @@ fs_initcall(cachefiles_init);
96 */ 95 */
97static void __exit cachefiles_exit(void) 96static void __exit cachefiles_exit(void)
98{ 97{
99 printk(KERN_INFO "CacheFiles: Unloading\n"); 98 pr_info("CacheFiles: Unloading\n");
100 99
101 cachefiles_proc_cleanup(); 100 cachefiles_proc_cleanup();
102 kmem_cache_destroy(cachefiles_object_jar); 101 kmem_cache_destroy(cachefiles_object_jar);