commit 13d59b5558d9220d411865b5ddb10fc669d1e122
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Mon Mar 5 15:52:36 2007 -0500

    allow unionfs on top of unionfs

diff --git a/fs/unionfs/main.c b/fs/unionfs/main.c
index 9d6852d..27b26ee 100644
--- a/fs/unionfs/main.c
+++ b/fs/unionfs/main.c
@@ -201,14 +201,11 @@ void unionfs_reinterpose(struct dentry *dentry)
 
 /* make sure the branch we just looked up (nd) makes sense:
  *
- * 1) we're not trying to stack unionfs on top of unionfs
- * 2) it exists
- * 3) is a directory
+ * 1) it exists
+ * 2) is a directory
  */
 int check_branch(struct nameidata *nd)
 {
-       if (!strcmp(nd->dentry->d_sb->s_type->name, "unionfs"))
-               return -EINVAL;
        if (!nd->dentry->d_inode)
                return -ENOENT;
        if (!S_ISDIR(nd->dentry->d_inode->i_mode))
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to