GIT: unionfs2-2.6.27.y: Unionfs: set lower file to NULL in file_release
Erez Zadok
ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:17:59 EDT 2010
commit 38a4fc70b63115977234a5462c9c3229e891a896
Author: Erez Zadok <ezk at cs.sunysb.edu>
Date: Wed Apr 23 19:05:50 2008 -0400
Unionfs: set lower file to NULL in file_release
Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>
diff --git a/fs/unionfs/commonfops.c b/fs/unionfs/commonfops.c
index 82b0eea..631e081 100644
--- a/fs/unionfs/commonfops.c
+++ b/fs/unionfs/commonfops.c
@@ -717,6 +717,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);
}
More information about the unionfs-cvs
mailing list