commit 3ae0d30f683349652f3dea0d7aa8b34849d30f36
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Wed Apr 11 21:14:20 2007 -0400

    print warning is odf is not root of a fs

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index b861f2d..7664935 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -109,6 +109,9 @@ struct odf_sb_info* odf_read_super(char *options)
                goto out_release;
        }
 
+       if (nd.dentry->d_sb->s_root != nd.dentry)
+               printk(KERN_WARNING "unionfs: warning: odf is not root\n");
+
        osi = kzalloc(sizeof(struct odf_sb_info), GFP_KERNEL);
        if (!osi) {
                err = -ENOMEM;
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to