summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-01-05 16:03:21 -0800
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:38:10 -0800
commitbc4169bdee5099056af585ccecb8f3639f5e212c (patch)
tree2bf5766f857402c38129b1f0f27f09bebe5ac69e /fs
parent62a5ed5185d19e163afbf7be97b7491f880ec7bb (diff)
fs: yaffs: don't force YAFFS_TRACE_ALWAYS for all trace levels
Change-Id: I9ddc676382d26aef7f12145d412fe670cb486317 Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/yaffs2/yportenv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/yaffs2/yportenv.h b/fs/yaffs2/yportenv.h
index 236f5793eccf..8183425448cd 100644
--- a/fs/yaffs2/yportenv.h
+++ b/fs/yaffs2/yportenv.h
@@ -54,7 +54,7 @@
#endif
#define yaffs_trace(msk, fmt, ...) do { \
- if(yaffs_trace_mask & ((msk) | YAFFS_TRACE_ALWAYS)) \
+ if(yaffs_trace_mask & (msk)) \
printk(KERN_DEBUG "yaffs: " fmt "\n", ##__VA_ARGS__); \
} while(0)