diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-06 09:15:55 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-06-14 11:31:39 -0400 |
commit | 3f4a9494104cbadfa05cb2da9ca04b205712360f (patch) | |
tree | 7c48f9b28a8a165c3be938747cf9de8d18f336a9 /fs | |
parent | 2159184ea01e4ae7d15f2017e296d4bc82d5aeb0 (diff) | |
download | op-kernel-dev-3f4a9494104cbadfa05cb2da9ca04b205712360f.zip op-kernel-dev-3f4a9494104cbadfa05cb2da9ca04b205712360f.tar.gz |
ncpfs: successful rename() should invalidate caches for parents
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ncpfs/dir.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ncpfs/dir.c b/fs/ncpfs/dir.c index 80021c7..93575e9 100644 --- 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; |