Skip to content
Browse files

fs: yaffs: don't force YAFFS_TRACE_ALWAYS for all trace levels

Change-Id: I9ddc676382d26aef7f12145d412fe670cb486317
Signed-off-by: Dima Zavin <dima@android.com>
  • Loading branch information...
1 parent 8237911 commit 22e9cd9dc9b51f5ad96588ecbfde5f3221e0e6dd Dima Zavin committed with colincross Jan 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 fs/yaffs2/yportenv.h
View
2 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)

0 comments on commit 22e9cd9

Please sign in to comment.
Something went wrong with that request. Please try again.