summaryrefslogtreecommitdiff
path: root/fs/efs/efs.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-06-05 03:12:12 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 03:54:20 +0400
commitf403d1dbac6d1ef28f553f3996d5bb5cea90ce15 (patch)
tree08e96ff86dcaf465b8e2ce4c27158b211f789188 /fs/efs/efs.h
parent179b87fb186b524ec75a5d54c0d7f25e8d559415 (diff)
downloadlinux-f403d1dbac6d1ef28f553f3996d5bb5cea90ce15.tar.xz
fs/efs: add pr_fmt / use __func__
Also uniformize function arguments. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/efs/efs.h')
-rw-r--r--fs/efs/efs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/efs/efs.h b/fs/efs/efs.h
index 5528926ac7f6..5bbf9612140c 100644
--- a/fs/efs/efs.h
+++ b/fs/efs/efs.h
@@ -7,6 +7,12 @@
#ifndef _EFS_EFS_H_
#define _EFS_EFS_H_
+#ifdef pr_fmt
+#undef pr_fmt
+#endif
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/fs.h>
#include <asm/uaccess.h>