commit abac97ec121531714d89dc85fb82af3f635a8dc2
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Fri May 25 16:25:31 2007 -0400

    dont put ic dentry in odf_get_ic_dentry

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index 
0882f3ae96a6fe944a0865e9e0fd82423358664b..95dd2454300eb6782de2c95745d55268b97c6a84
 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1167,7 +1167,7 @@ struct dentry *odf_ic_dentry(struct odf_
                err = PTR_ERR(ret);
                goto out;
        }
-       if (!dirs[i]->d_inode) {
+       if (!ret->d_inode) {
                err = vfs_create(dirs[3]->d_inode, ret, S_IRWXUGO, 0 );
                if (err)
                        dput(ret);
@@ -1179,11 +1179,9 @@ out:
        
        for (i = 0; i < 4; i++)
                dput(dirs[i]);
-       dput(ic);
 
        if (err)
                return ERR_PTR(err);
-
        return ret;
 }
 /*
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to