commit 8d086f8e6acba22e7e4df6b6ff80fb4981b3566a
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 0882f3a..95dd245 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1167,7 +1167,7 @@ struct dentry *odf_ic_dentry(struct odf_sb_info *osi, u64
ino, char *name, int n
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