Re: [PATCH 03/25] Unionfs: display informational messages only if debug is on

Jan Engelhardt
2007-09-26T08:36:38Z

On Sep 25 2007 23:09, Erez Zadok wrote:
>--- a/fs/unionfs/commonfops.c
>+++ b/fs/unionfs/commonfops.c
>@@ -394,8 +394,8 @@ int unionfs_file_revalidate(struct file *file, bool willwrite)
> if (willwrite && IS_WRITE_FLAG(file->f_flags) &&
> !IS_WRITE_FLAG(unionfs_lower_file(file)->f_flags) &&
> is_robranch(dentry)) {
>- printk(KERN_DEBUG "unionfs: do delay copyup of \"%s\"\n",
>- dentry->d_name.name);
>+ dprintk(KERN_DEBUG "unionfs: do delay copyup of \"%s\"\n",
>+ dentry->d_name.name);

Don't we have pr_debug() for that?