commit d13be48d5854ee4051e1a48c31125e77c44e9979
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date:   Wed Mar 21 17:59:25 2007 -0400

    removed done function from sioa struct and added a complete_sioa function 
to terminate threads
    
    fixed bug where the odf was umounted before the cleanup thread was 
initialized

diff --git a/fs/unionfs/odf.h b/fs/unionfs/odf.h
index ce41c30..5f883ec 100644
--- a/fs/unionfs/odf.h
+++ b/fs/unionfs/odf.h
@@ -164,8 +164,7 @@ static inline void odf_unlock(struct odf_dentry_info *odi)
 extern void generate_random_uuid(unsigned char uuid_out[16]);
 
 /* cleanup thread functions */
-extern void __odf_cleanup_w(void *args);
-extern int __odf_cleanup_d(void *args);
+extern void __odf_cleanup(void *args);
 
 /* Macros for locking an odf dentry info. */
 static inline void odf_lock(struct odf_dentry_info *odi)
diff --git a/fs/unionfs/sioq.h b/fs/unionfs/sioq.h
index 2d4fd4e..c6392c6 100644
--- a/fs/unionfs/sioq.h
+++ b/fs/unionfs/sioq.h
@@ -61,9 +61,9 @@ struct sioa_args {
        struct task_struct *process;
        signed long timeout;
        void (*work) (void*);
-       int (*done) (void*);
        struct mutex lock;
        int waiting;
+       int complete;
 
        union {
                struct cleanup_args cleanup;
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to