From 8f9bea8994ba97d70f105287629de5a985a09e18 Mon Sep 17 00:00:00 2001 From: yuhui Date: Tue, 7 Jan 2025 19:56:45 +0800 Subject: [PATCH] Update --- clients/filesystem-fuse/src/default_raw_filesystem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/filesystem-fuse/src/default_raw_filesystem.rs b/clients/filesystem-fuse/src/default_raw_filesystem.rs index 922af121197..d69022c0eaa 100644 --- a/clients/filesystem-fuse/src/default_raw_filesystem.rs +++ b/clients/filesystem-fuse/src/default_raw_filesystem.rs @@ -342,7 +342,7 @@ impl RawFileSystem for DefaultRawFileSystem { .remove(fh) .ok_or(Errno::from(libc::EBADF))?; - // todo: handle race condition + // todo: need to handle racing condition if file_entry.is_ok() { let mut file = opened_file.lock().await; file.close().await