summaryrefslogtreecommitdiffstats
path: root/fs/configfs/configfs_internal.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-04 16:05:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-04 16:53:53 -0700
commit1d88aa441f25811a55c0ed688add108c0a45613e (patch)
tree6982d2fe21ebe8e960db34d90911bdb602a42502 /fs/configfs/configfs_internal.h
parentc6686931335757c2b348fc9a74ff564d8bd10f0a (diff)
downloadblackbird-obmc-linux-1d88aa441f25811a55c0ed688add108c0a45613e.tar.gz
blackbird-obmc-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>
OpenPOWER on IntegriCloud