Commit c811f5f4 authored by Fabian Frederick's avatar Fabian Frederick Committed by Linus Torvalds

fs/squashfs/super.c: logging cleanup

- Convert printk to pr_foo()
- Add pr_fmt for future logging entries
- Coalesce formats
Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Cc: Phillip Lougher <phillip@squashfs.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 14694888
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
* the filesystem. * the filesystem.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/vfs.h> #include <linux/vfs.h>
#include <linux/slab.h> #include <linux/slab.h>
...@@ -448,8 +450,7 @@ static int __init init_squashfs_fs(void) ...@@ -448,8 +450,7 @@ static int __init init_squashfs_fs(void)
return err; return err;
} }
printk(KERN_INFO "squashfs: version 4.0 (2009/01/31) " pr_info("version 4.0 (2009/01/31) Phillip Lougher\n");
"Phillip Lougher\n");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment