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

From: Jan Engelhardt
Date: Wed Sep 26 2007 - 04:36:39 EST



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?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/