commit ff2d98e65911266146ce421382e8709af1f8572e
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Thu Apr 5 14:08:17 2007 -0400

    moved reading/writting of link odf ino from __odf_lookup to odf_lookup and 
use the ODF_LOOKUP_LINK flag

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index 6160b97..49003e4 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -929,6 +929,9 @@ int odf_lookup(struct dentry *parent, struct dentry 
*dentry, int flags)
        struct file *link_file = NULL;
        char *name, *uuid;
        int bstart, err = 0;
+       __le64 le64;
+       u64 ino = 0;
+       mm_segment_t oldfs;
 
        /* this might be called before interpose */
        if (dbstart(dentry) == dbend(dentry) && dbstart(dentry) == 0) {
diff --git a/fs/unionfs/odf.h b/fs/unionfs/odf.h
index 36669bc..0548fea 100644
--- a/fs/unionfs/odf.h
+++ b/fs/unionfs/odf.h
@@ -97,7 +97,7 @@ static inline struct odf_dentry_info *odf_lookup_name(struct 
odf_sb_info *osi,
                struct odf_dentry_info *parent, const char *name, int len, 
                int flags, struct odf_dentry_info *old_odi)
 {
-       return __odf_lookup(osi, parent, name, len, flags, old_odi, NULL);
+       return __odf_lookup(osi, parent, name, len, flags, old_odi, 0);
 }
 struct odf_dentry_info *odf_getpath(struct dentry *d_odf, struct odf_sb_info 
*osi, const char *name);
 struct odf_dentry_info *odf_fill_info(struct odf_dentry_info *odi,
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to