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:
1ed7837
)
Unionfs: update parent mnt on unlink
author
Erez Zadok
<ezk@cs.sunysb.edu>
Thu, 11 Sep 2008 03:41:02 +0000
(23:41 -0400)
committer
Erez Zadok
<ezk@cs.sunysb.edu>
Fri, 12 Aug 2011 02:38:36 +0000
(22:38 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/unlink.c
patch
|
blob
|
history
diff --git
a/fs/unionfs/unlink.c
b/fs/unionfs/unlink.c
index 623f68d9cb084c7d9e802ebfd33e25e14179b1e4..fb236cdc728b306138255c82d0acac691286e881 100644
(file)
--- a/
fs/unionfs/unlink.c
+++ b/
fs/unionfs/unlink.c
@@
-146,6
+146,7
@@
int unionfs_unlink(struct inode *dir, struct dentry *dentry)
/* call d_drop so the system "forgets" about us */
if (!err) {
unionfs_postcopyup_release(dentry);
+ unionfs_postcopyup_setmnt(dentry->d_parent);
if (inode->i_nlink == 0) /* drop lower inodes */
iput_lowers_all(inode, false);
d_drop(dentry);