commit 75e9475cbabbd52a78e12908f30b21a67aaf9c87
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
b861f2d4baa9d90999c45a49bc53095e20f28be9..76649352a23bdd782d3561e18c1774b37d3ffa7f
100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -109,6 +109,9 @@ struct odf_sb_info* odf_read_super(char
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