From bb1890afd7d1eb33e95f36d1d9936dbd574260b6 Mon Sep 17 00:00:00 2001 From: Peri Date: Thu, 11 May 2023 02:38:46 +0100 Subject: Fix issue #746. (#782) Added a secondary check in fuse_lib_unlink() after hide_node() to check again under a lock if the (now hidden) file is still open. If not then delete it. This should synchronise fuse_lib_unlink() with fuse_lib_release(), when nullpath_ok is set. --- test/meson.build | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/meson.build') diff --git a/test/meson.build b/test/meson.build index 1f5cb53..3d74b9a 100644 --- a/test/meson.build +++ b/test/meson.build @@ -13,6 +13,9 @@ td += executable('test_syscalls', 'test_syscalls.c', td += executable('readdir_inode', 'readdir_inode.c', include_directories: include_dirs, install: false) +td += executable('release_unlink_race', 'release_unlink_race.c', + dependencies: [ libfuse_dep ], + install: false) test_scripts = [ 'conftest.py', 'pytest.ini', 'test_examples.py', 'util.py', 'test_ctests.py', 'test_custom_io.py' ] -- cgit v1.2.3