summaryrefslogtreecommitdiffstats
path: root/fs/qnx6/qnx6.h
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-08-08 14:23:07 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-08 15:57:26 -0700
commitfa5a7a41a601d952e53bfcfa6d50ca22b956ee3a (patch)
treed3ec881ee67e05a477fe3262b8a72dd0b20b6356 /fs/qnx6/qnx6.h
parente6c3261653a22f7481791e02fe19d11faac214fb (diff)
downloadlinux-stable-fa5a7a41a601d952e53bfcfa6d50ca22b956ee3a.tar.gz
linux-stable-fa5a7a41a601d952e53bfcfa6d50ca22b956ee3a.tar.bz2
linux-stable-fa5a7a41a601d952e53bfcfa6d50ca22b956ee3a.zip
fs/qnx6: update debugging to current functions
Add DDEBUG in Makefile when CONFIG_QNX6FS_DEBUG is set. All QNX6DEBUG messages are replaced by pr_debug which means debugging will be emitted in debug level only and no more in error and info levels. debug uses now pr_fmt and __func__ QNX6DEBUG definition has been removed. Signed-off-by: Fabian Frederick <fabf@skynet.be> Cc: Joe Perches <joe@perches.com> Cc: Kai Bankett <chaosman@ontika.net> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/qnx6/qnx6.h')
-rw-r--r--fs/qnx6/qnx6.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fs/qnx6/qnx6.h b/fs/qnx6/qnx6.h
index b0aceda59c36..d3fb2b698800 100644
--- a/fs/qnx6/qnx6.h
+++ b/fs/qnx6/qnx6.h
@@ -25,12 +25,6 @@ typedef __u64 __bitwise __fs64;
#include <linux/qnx6_fs.h>
-#ifdef CONFIG_QNX6FS_DEBUG
-#define QNX6DEBUG(X) printk X
-#else
-#define QNX6DEBUG(X) (void) 0
-#endif
-
struct qnx6_sb_info {
struct buffer_head *sb_buf; /* superblock buffer */
struct qnx6_super_block *sb; /* our superblock */