commit 379b32418253a61225be32d7d24665d702232438
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Sun Feb 4 21:02:38 2007 -0500

    Some cleanup. Use odf_dentry_info instead of plain dentry in 
unionfs_dentry_info

diff --git a/fs/unionfs/lookup.c b/fs/unionfs/lookup.c
index 9751e7b..8c3b46d 100644
--- a/fs/unionfs/lookup.c
+++ b/fs/unionfs/lookup.c
@@ -246,7 +246,7 @@ out_positive:
        unionfs_mntput(first_dentry, first_dentry_offset);
 
        /* check odf */
-       UNIONFS_D(dentry)->dodf = odf_lookup(parent_dentry, dentry, 0);
+       UNIONFS_D(dentry)->odf_info = odf_lookup(parent_dentry, dentry, 0);
 
        /* Partial lookups need to reinterpose, or throw away older negs. */
        if (lookupmode == INTERPOSE_PARTIAL) {
diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h
index 7bfc369..f2b2037 100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -136,6 +136,16 @@ struct unionfs_inode_info {
        struct inode vfs_inode;
 };
 
+/* odf dentry data */
+struct odf_dentry_info {
+       /* The odf dentry info should contain info on the location of 
+        * the data in the odf file. Right now i keep a dentry for easy
+        * lookup in the underlying ext2 
+        */
+       u64 inum;
+       struct dentry *dentry;
+};
+
 /* unionfs dentry data in memory */
 struct unionfs_dentry_info {
        /* The semaphore is used to lock the dentry as soon as we get into a
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to