commit 3c56776cf49d6aaca78c423d60af99bfb83fbccb
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Thu May 24 23:53:25 2007 -0400

    print KERN_ERR is odf_read_super fails

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index ed059bd..8b9e5ed 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -99,11 +99,11 @@ struct odf_sb_info* odf_read_super(char *options)
 
        err = path_lookup(odffile, LOOKUP_DIRECTORY, &nd);
        if (err) {
-               printk(KERN_WARNING "unionfs: Cannot access odf\n");
+               printk(KERN_ERR "unionfs: Cannot access odf\n");
                goto out;
        }
        if (!nd.dentry->d_inode || !S_ISDIR(nd.dentry->d_inode->i_mode)) {
-               printk(KERN_WARNING "unionfs: Invalid odf\n");
+               printk(KERN_ERR "unionfs: Invalid odf\n");
                err = -EINVAL;
                goto out_release;
        }
@@ -170,6 +170,7 @@ struct odf_sb_info* odf_read_super(char *options)
                goto out_free;
        }
        if (!osi->whiteout->d_inode) {
+               printk(KERN_ERR "unionfs: Whiteout file in odf does not 
exist\n");
                err = -EINVAL;
                goto out_free;
        }
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to