commit 0759210c5e5359bceff061180bafb09a622d2cda
Author: Rachita Kothiyal <[EMAIL PROTECTED]>
Date: Sun Nov 25 17:47:31 2007 -0500
Unionfs: remove useless debugging messages
These are considered normal behaviour, they don't really reveal any insight
to the person debugging the code, and they tend to clutter console messages.
Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>
diff --git a/fs/unionfs/dentry.c b/fs/unionfs/dentry.c
index cf96310..ada52f1 100644
--- a/fs/unionfs/dentry.c
+++ b/fs/unionfs/dentry.c
@@ -61,12 +61,8 @@ static bool __unionfs_d_revalidate_one(struct dentry *dentry,
verify_locked(dentry);
/* if the dentry is unhashed, do NOT revalidate */
- if (d_deleted(dentry)) {
- pr_debug("unionfs: unhashed dentry being "
- "revalidated: %*s\n",
- dentry->d_name.len, dentry->d_name.name);
+ if (d_deleted(dentry))
goto out;
- }
BUG_ON(dbstart(dentry) == -1);
if (dentry->d_inode)
@@ -476,13 +472,8 @@ static void unionfs_d_release(struct dentry *dentry)
printk(KERN_ERR "unionfs: dentry without private data: %.*s\n",
dentry->d_name.len, dentry->d_name.name);
goto out;
- } else if (dbstart(dentry) < 0) {
- /* this is due to a failed lookup */
- pr_debug("unionfs: dentry without lower "
- "dentries: %.*s\n",
- dentry->d_name.len, dentry->d_name.name);
- goto out_free;
- }
+ } else if (dbstart(dentry) < 0)
+ goto out_free; /* due to a (normal) failed lookup */
/* Release all the lower dentries */
bstart = dbstart(dentry);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs