commit b3a663867725adb222f9656554db46905fc0ef9b
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 
ed059bdadf3b4c09e7def4ae37a12598ddad81a5..8b9e5edf88a94cca62d7429a0699ce6bde5e77a4
 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -99,11 +99,11 @@ struct odf_sb_info* odf_read_super(char 
 
        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 
                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