summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-10-09 02:19:14 +0100
committerAndy Green <andy.green@linaro.org>2011-10-09 02:19:14 +0100
commit524328d68118289e76bdff02edc922c8e523a9b3 (patch)
treed4017a114ed4d205d0f60dc7f4612f70d1e9ff07 /fs
parenta4755794b86a2c0642c2cafc28f272cd7d98974b (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 236f5793ecc..8183425448c 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)