From bc4169bdee5099056af585ccecb8f3639f5e212c Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Wed, 5 Jan 2011 16:03:21 -0800 Subject: fs: yaffs: don't force YAFFS_TRACE_ALWAYS for all trace levels Change-Id: I9ddc676382d26aef7f12145d412fe670cb486317 Signed-off-by: Dima Zavin --- fs/yaffs2/yportenv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs') 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) -- cgit v1.2.3