From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Engelhardt Subject: Re: [PATCH 03/25] Unionfs: display informational messages only if debug is on Date: Wed, 26 Sep 2007 10:36:27 +0200 (CEST) Message-ID: References: <11907762042481-git-send-email-ezk@cs.sunysb.edu> <11907762061611-git-send-email-ezk@cs.sunysb.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, viro@ftp.linux.org.uk, hch@infradead.org To: Erez Zadok Return-path: Received: from sovereign.computergmbh.de ([85.214.69.204]:60034 "EHLO sovereign.computergmbh.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751749AbXIZIg2 (ORCPT ); Wed, 26 Sep 2007 04:36:28 -0400 In-Reply-To: <11907762061611-git-send-email-ezk@cs.sunysb.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org 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?