aboutsummaryrefslogtreecommitdiffstats
path: root/fs/fscache/netfs.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 19:05:38 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 19:53:51 -0400
commit36dfd116edd48fa6174d5694c143f1d4bd81aba8 (patch)
tree140446c2260c5d3a6c49b1102f15ce9cef431448 /fs/fscache/netfs.c
parent8fe6929cfd43c44834858a53e129ffdc7c166298 (diff)
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/netfs.c')
-rw-r--r--fs/fscache/netfs.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/fscache/netfs.c b/fs/fscache/netfs.c
index 989f39401547..6d941f56faf4 100644
--- a/fs/fscache/netfs.c
+++ b/fs/fscache/netfs.c
@@ -65,8 +65,7 @@ int __fscache_register_netfs(struct fscache_netfs *netfs)
65 list_add(&netfs->link, &fscache_netfs_list); 65 list_add(&netfs->link, &fscache_netfs_list);
66 ret = 0; 66 ret = 0;
67 67
68 printk(KERN_NOTICE "FS-Cache: Netfs '%s' registered for caching\n", 68 pr_notice("Netfs '%s' registered for caching\n", netfs->name);
69 netfs->name);
70 69
71already_registered: 70already_registered:
72 up_write(&fscache_addremove_sem); 71 up_write(&fscache_addremove_sem);
@@ -97,8 +96,8 @@ void __fscache_unregister_netfs(struct fscache_netfs *netfs)
97 96
98 up_write(&fscache_addremove_sem); 97 up_write(&fscache_addremove_sem);
99 98
100 printk(KERN_NOTICE "FS-Cache: Netfs '%s' unregistered from caching\n", 99 pr_notice("Netfs '%s' unregistered from caching\n",
101 netfs->name); 100 netfs->name);
102 101
103 _leave(""); 102 _leave("");
104} 103}