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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux