Unionfs ODF: remove useless lookup message
authorErez Zadok <ezk@cs.sunysb.edu>
Sun, 2 Dec 2007 02:20:28 +0000 (21:20 -0500)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:03:25 +0000 (19:03 -0400)
No need to clutter the console with kernel messages which result from normal
behaviour.

Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/odf.c

index f75ba7c73bf5b98ba25c7f176c81c252ec94f345..7873df77a1eadd1ebf097435b16a1a194beeced4 100644 (file)
@@ -1132,11 +1132,8 @@ struct dentry *__odf_lookup(struct dentry *parent,
        /* lookup in the odf */
        odf_dentry = lookup_one_len(name, odf_parent, len);
 
-       if (IS_ERR(odf_dentry)) {
-               printk(KERN_ERR "unionfs: odf_lookup: failed to lookup %s\n",
-                      name);
+       if (IS_ERR(odf_dentry))
                goto out;
-       }
 
        /* if create flags are set, remove existing whiteout */
        if (odf_dentry->d_inode && (flags & ODF_LOOKUP_RMV_WH)) {