Trace ALWAYS was done wrong in the macro. Just make it another bitmap.
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
#define cond_resched() do {} while(0)
#define yaffs_trace(msk, fmt, ...) do { \
#define cond_resched() do {} while(0)
#define yaffs_trace(msk, fmt, ...) do { \
- if(yaffs_trace_mask & ((msk) | YAFFS_TRACE_ALWAYS)) \
+ if(yaffs_trace_mask & (msk)) \
printf("yaffs: " fmt "\n", ##__VA_ARGS__); \
} while(0)
printf("yaffs: " fmt "\n", ##__VA_ARGS__); \
} while(0)