commit 1ce8a15540060dbc6532baf36ef118887e17cbd9
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Sat Mar 17 21:05:11 2007 -0400

    macros for name of content files

diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index e0dadd1..a3af320 100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1413,7 +1413,7 @@ struct odf_dentry_info *odf_ic_dir(struct dentry *dir)
                }
        }
        
-       odi_ret = __odf_lookup(odis[3], osi, "content", 7, ODF_LOOKUP_FILE, 
NULL);
+       odi_ret = __odf_lookup(odis[3], osi, ODF_CONTENT, ODF_CONTENT_LEN, 
ODF_LOOKUP_FILE, NULL);
        if (IS_ERR(odi_ret)) {
                err = PTR_ERR(odi_ret);
                odi_ret = NULL;
diff --git a/fs/unionfs/odf.h b/fs/unionfs/odf.h
index 8e75657..ce97346 100644
--- a/fs/unionfs/odf.h
+++ b/fs/unionfs/odf.h
@@ -63,6 +63,9 @@
 /* Reclaim thread timeout */
 #define ODF_RC_TIMEOUT 10000
 
+#define ODF_CONTENT "content"
+#define ODF_CONTENT_LEN 7
+
 /* super */
 struct odf_sb_info* odf_read_super(char *options);
 void odf_put_super(struct odf_sb_info *osi);
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to