summaryrefslogtreecommitdiff
path: root/document-portal
diff options
context:
space:
mode:
Diffstat (limited to 'document-portal')
-rw-r--r--document-portal/xdp-fuse.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/document-portal/xdp-fuse.c b/document-portal/xdp-fuse.c
index 2d013ae..2de239a 100644
--- a/document-portal/xdp-fuse.c
+++ b/document-portal/xdp-fuse.c
@@ -94,7 +94,11 @@ get_attr_cache_time (int st_mode)
static double
get_entry_cache_time (fuse_ino_t inode)
{
- return 60.0;
+ /* We have to disable entry caches because otherwise we have a race
+ on rename. The kernel set the target inode as NOEXIST after a
+ rename, which breaks in the tmp over real case due to us reusing
+ the old non-temp inode. */
+ return 0.0;
}
/******************************* XdpTmp *******************************