Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3f4a9494 authored by Al Viro's avatar Al Viro
Browse files

ncpfs: successful rename() should invalidate caches for parents



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2159184e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;