summaryrefslogtreecommitdiffstats
path: root/fs/configfs/configfs_internal.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-05 01:05:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 01:53:53 +0200
commit1d88aa441f25811a55c0ed688add108c0a45613e (patch)
tree6982d2fe21ebe8e960db34d90911bdb602a42502 /fs/configfs/configfs_internal.h
parentfs/configfs: convert printk to pr_foo() (diff)
downloadlinux-1d88aa441f25811a55c0ed688add108c0a45613e.tar.xz
linux-1d88aa441f25811a55c0ed688add108c0a45613e.zip
fs/configfs: use pr_fmt
Add pr_fmt based on module name. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joel Becker <jlbec@evilplan.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/configfs/configfs_internal.h')
-rw-r--r--fs/configfs/configfs_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/configfs/configfs_internal.h b/fs/configfs/configfs_internal.h
index b5f0a3b91f18..bd4a3c167091 100644
--- a/fs/configfs/configfs_internal.h
+++ b/fs/configfs/configfs_internal.h
@@ -24,6 +24,12 @@
* configfs Copyright (C) 2005 Oracle. All rights reserved.
*/
+#ifdef pr_fmt
+#undef pr_fmt
+#endif
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/slab.h>
#include <linux/list.h>
#include <linux/spinlock.h>