@@ -280,15 +280,15 @@ int fscache_add_cache(struct fscache_cache *cache,
280280 spin_unlock (& fscache_fsdef_index .lock );
281281 up_write (& fscache_addremove_sem );
282282
283- printk ( KERN_NOTICE "FS-Cache: Cache \"%s\" added (type %s)\n" ,
284- cache -> tag -> name , cache -> ops -> name );
283+ pr_notice ( " Cache \"%s\" added (type %s)\n" ,
284+ cache -> tag -> name , cache -> ops -> name );
285285 kobject_uevent (cache -> kobj , KOBJ_ADD );
286286
287287 _leave (" = 0 [%s]" , cache -> identifier );
288288 return 0 ;
289289
290290tag_in_use :
291- printk ( KERN_ERR "FS-Cache: Cache tag '%s' already in use\n" , tagname );
291+ pr_err ( " Cache tag '%s' already in use\n" , tagname );
292292 __fscache_release_cache_tag (tag );
293293 _leave (" = -EXIST" );
294294 return - EEXIST ;
@@ -317,8 +317,7 @@ EXPORT_SYMBOL(fscache_add_cache);
317317void fscache_io_error (struct fscache_cache * cache )
318318{
319319 if (!test_and_set_bit (FSCACHE_IOERROR , & cache -> flags ))
320- printk (KERN_ERR "FS-Cache:"
321- " Cache '%s' stopped due to I/O error\n" ,
320+ pr_err ("Cache '%s' stopped due to I/O error\n" ,
322321 cache -> ops -> name );
323322}
324323EXPORT_SYMBOL (fscache_io_error );
@@ -369,8 +368,8 @@ void fscache_withdraw_cache(struct fscache_cache *cache)
369368
370369 _enter ("" );
371370
372- printk ( KERN_NOTICE "FS-Cache: Withdrawing cache \"%s\"\n" ,
373- cache -> tag -> name );
371+ pr_notice ( " Withdrawing cache \"%s\"\n" ,
372+ cache -> tag -> name );
374373
375374 /* make the cache unavailable for cookie acquisition */
376375 if (test_and_set_bit (FSCACHE_CACHE_WITHDRAWN , & cache -> flags ))
0 commit comments