projects
/
unionfs-2.6.24.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f03f3
)
Unionfs: set lower file to NULL in file_release
author
Erez Zadok
<ezk@cs.sunysb.edu>
Wed, 23 Apr 2008 23:10:31 +0000
(19:10 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Sat, 19 Jul 2008 03:23:00 +0000
(23:23 -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);
}