projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2159184
)
ncpfs: successful rename() should invalidate caches for parents
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 6 Jun 2015 13:15:55 +0000
(09:15 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sun, 14 Jun 2015 15:31:39 +0000
(11:31 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ncpfs/dir.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ncpfs/dir.c
b/fs/ncpfs/dir.c
index 80021c709af9cc02dc2d3a41a0f14fd7b6409e89..93575e91a7aa7b2993afb16b781c657fa2d6a7af 100644
(file)
--- a/
fs/ncpfs/dir.c
+++ b/
fs/ncpfs/dir.c
@@
-1145,6
+1145,8
@@
static int ncp_rename(struct inode *old_dir, struct dentry *old_dentry,
case 0x00:
ncp_dbg(1, "renamed %pd -> %pd\n",
old_dentry, new_dentry);
+ ncp_d_prune(old_dentry);
+ ncp_d_prune(new_dentry);
break;
case 0x9E:
error = -ENAMETOOLONG;