This is to avoid filling the console/logs with messages that are primarily
of debugging use.
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
Acked-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
#ifdef CONFIG_UNION_FS_DEBUG
-#define dprintk printk
+#define dprintk(args...) printk(args)
/* useful for tracking code reachability */
#define UDBG printk("DBG:%s:%s:%d\n",__FILE__,__FUNCTION__,__LINE__)
#else /* not CONFIG_UNION_FS_DEBUG */
-#define dprintk(x...) do { ; } while (0)
+#define dprintk(args...) do { } while (0)
/* we leave useful hooks for these check functions throughout the code */
#define unionfs_check_inode(i) do { } while(0)