[PATCH 7/7] Replace DPRINTK with pr_debug_pid in autofs4

2007-06-09 Thread Jack Stone
This patch uses the new pr_debug_pid function to replace DPRINKs in autofs4 without breaking the functionality. Signed-off-by: Jack Stone <[EMAIL PROTECTED]> --- Index: linux/fs/autofs4/autofs_i.h === --- linux.orig/fs/autofs4/autofs_

[PATCH 7/7] Replace DPRINTK with pr_debug_pid in autofs4

2007-06-08 Thread Jack Stone
Signed-off-by: Jack Stone <[EMAIL PROTECTED]> --- -/* #define DEBUG */ - -#ifdef DEBUG -#define DPRINTK(fmt,args...) do { pr_debug("pid %d: %s: " fmt "\n" , current->pid , __FUNCTION__ , ##args); } while(0) -#else -#define DPRINTK(fmt,args...) do {} while(0) -#endif - /* Unified info structure. T