summaryrefslogtreecommitdiffstats
path: root/fs/ufs/ufs.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 23:20:59 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-09 00:57:21 +0200
commitde771bdaaa9dd2585c59e1bd6cf2cac83aa0beec (patch)
treeb08856cbfb05bb5e3c0a005c37731711fac9e0e5 /fs/ufs/ufs.h
parentfs/ufs: convert printk to pr_foo() (diff)
downloadlinux-de771bdaaa9dd2585c59e1bd6cf2cac83aa0beec.tar.xz
linux-de771bdaaa9dd2585c59e1bd6cf2cac83aa0beec.zip
fs/ufs: use pr_fmt
Replace UFS-fs, UFS-fs: and UFS: by pr_fmt with module name "ufs: " Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ufs/ufs.h')
-rw-r--r--fs/ufs/ufs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/ufs/ufs.h b/fs/ufs/ufs.h
index 343e6fc571e5..cbe1e9be9013 100644
--- a/fs/ufs/ufs.h
+++ b/fs/ufs/ufs.h
@@ -1,6 +1,12 @@
#ifndef _UFS_UFS_H
#define _UFS_UFS_H 1
+#ifdef pr_fmt
+#undef pr_fmt
+#endif
+
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#define UFS_MAX_GROUP_LOADED 8
#define UFS_CGNO_EMPTY ((unsigned)-1)