aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cachefiles/bind.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/bind.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/bind.c')
-rw-r--r--fs/cachefiles/bind.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/cachefiles/bind.c b/fs/cachefiles/bind.c
index 5b99bafc31d1..c7f3dd2b79dd 100644
--- a/fs/cachefiles/bind.c
+++ b/fs/cachefiles/bind.c
@@ -228,9 +228,8 @@ static int cachefiles_daemon_add_cache(struct cachefiles_cache *cache)
228 set_bit(CACHEFILES_READY, &cache->flags); 228 set_bit(CACHEFILES_READY, &cache->flags);
229 dput(root); 229 dput(root);
230 230
231 printk(KERN_INFO "CacheFiles:" 231 pr_info("CacheFiles: File cache on %s registered\n",
232 " File cache on %s registered\n", 232 cache->cache.identifier);
233 cache->cache.identifier);
234 233
235 /* check how much space the cache has */ 234 /* check how much space the cache has */
236 cachefiles_has_space(cache, 0, 0); 235 cachefiles_has_space(cache, 0, 0);
@@ -262,9 +261,8 @@ void cachefiles_daemon_unbind(struct cachefiles_cache *cache)
262 _enter(""); 261 _enter("");
263 262
264 if (test_bit(CACHEFILES_READY, &cache->flags)) { 263 if (test_bit(CACHEFILES_READY, &cache->flags)) {
265 printk(KERN_INFO "CacheFiles:" 264 pr_info("CacheFiles: File cache on %s unregistering\n",
266 " File cache on %s unregistering\n", 265 cache->cache.identifier);
267 cache->cache.identifier);
268 266
269 fscache_withdraw_cache(&cache->cache); 267 fscache_withdraw_cache(&cache->cache);
270 } 268 }