From b29a8f1587f6d520a3acdee646d8c2c2ea2632b7 Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Wed, 8 Jan 2020 13:22:18 +0100 Subject: [PATCH] main: force a dir reload after a move if the directory was moved, invalidate its cache and force a reload. Closes: https://github.com/containers/fuse-overlayfs/issues/160 Signed-off-by: Giuseppe Scrivano --- main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.c b/main.c index fcf4698..c7f3d37 100644 --- a/main.c +++ b/main.c @@ -4176,6 +4176,8 @@ ovl_rename_direct (fuse_req_t req, fuse_ino_t parent, const char *name, if (update_paths (node) < 0) goto error; + node->loaded = 0; + ret = 0; goto cleanup;