mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-08 14:52:31 -04:00
main: invalidate inode after unlink
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
parent
0d8c5480d1
commit
36b482bf52
1
main.c
1
main.c
@ -3406,6 +3406,7 @@ do_rm (fuse_req_t req, fuse_ino_t parent, const char *name, bool dirp)
|
||||
node_set_name (&key, (char *) name);
|
||||
|
||||
rm = hash_delete (pnode->children, &key);
|
||||
fuse_lowlevel_notify_inval_inode (lo->se, node_to_inode (node), -1, 0);
|
||||
if (rm)
|
||||
{
|
||||
ret = hide_node (lo, rm, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user