aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/main.c
diff options
context:
space:
mode:
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);