GIT: unionfs2-2.6.27.y: Unionfs: convert a printk to pr_debug in release

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:17:18 EDT 2010


commit 265c9d8b7ae254852791ed34d855a60edbd65d3b
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date:   Thu Oct 18 14:03:16 2007 -0400

    Unionfs: convert a printk to pr_debug in release
    
    This is mostly an informational message, not an error.
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c
index 6bab9d6..a3d7b6e 100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -455,9 +455,9 @@ static void unionfs_d_release(struct dentry *dentry)
 		goto out;
 	} else if (dbstart(dentry) < 0) {
 		/* this is due to a failed lookup */
-		printk(KERN_ERR "unionfs: dentry without lower "
-		       "dentries: %.*s\n",
-		       dentry->d_name.len, dentry->d_name.name);
+		pr_debug("unionfs: dentry without lower "
+			 "dentries: %.*s\n",
+			 dentry->d_name.len, dentry->d_name.name);
 		goto out_free;
 	}
 


More information about the unionfs-cvs mailing list