aboutsummaryrefslogtreecommitdiffstats
path: root/fs/yaffs2
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-01-05 16:03:21 -0800
committerColin Cross <ccross@android.com>2011-06-14 09:09:13 -0700
commit22e9cd9dc9b51f5ad96588ecbfde5f3221e0e6dd (patch)
tree5fe1308c02f57b1a61deb03123c0bfca12824310 /fs/yaffs2
parent8237911c6471f56b9ace3b697b17d6d33c9e2a99 (diff)
downloadkernel_samsung_tuna-22e9cd9dc9b51f5ad96588ecbfde5f3221e0e6dd.zip
kernel_samsung_tuna-22e9cd9dc9b51f5ad96588ecbfde5f3221e0e6dd.tar.gz
kernel_samsung_tuna-22e9cd9dc9b51f5ad96588ecbfde5f3221e0e6dd.tar.bz2
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/yaffs2')
-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 236f579..8183425 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)