commit a74bb8f61ac2a6f48e230e1b342dce3ae91de28a
Author: Erez Zadok <[EMAIL PROTECTED]>
Date:   Wed Apr 23 19:33:25 2008 -0400

    Unionfs: set lower file to NULL in file_release
    
    Signed-off-by: Erez Zadok <[EMAIL PROTECTED]>

diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c
index 8a75790..0430964 100644
--- a/fs/unionfs/commonfops.c
+++ b/fs/unionfs/commonfops.c
@@ -719,6 +719,7 @@ int unionfs_file_release(struct inode *inode, struct file 
*file)
                lower_file = unionfs_lower_file_idx(file, bindex);
 
                if (lower_file) {
+                       unionfs_set_lower_file_idx(file, bindex, NULL);
                        fput(lower_file);
                        branchput(sb, bindex);
                }
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs

Reply via email to