summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorDima Zavin <dima@android.com>2011-01-05 16:03:21 -0800
committerBrian Swetland <swetland@google.com>2011-03-29 13:57:48 -0700
commit9ebd68c227d40eb0d849dcd3ca130aefa32ce0b4 (patch)
tree5d952d4973b0c72226bc19d6ccaf75db0e5967c7 /fs
parentb0f8a67d87b616e3d80b7a548c2aa2a576e695c4 (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)