projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a299b8
)
Unionfs: set lower file to NULL in file_release
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 23 Apr 2008 23:05:50 +0000
(19:05 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 24 Jun 2011 18:07:49 +0000
(14:07 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/commonfops.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/commonfops.c
b/fs/unionfs/commonfops.c
index 82b0eea47347b16eabee42739692bed481e4ad3a..631e081e792b1ea325c4e74737bebf30a2d63276 100644
(file)
--- 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);
}