From d1bfdbae9de346fe6874f04bea44b61840b5032c Mon Sep 17 00:00:00 2001 From: Eric Chang Date: Fri, 20 Dec 2024 06:51:58 +0800 Subject: [PATCH] revert unnecesary change --- clients/filesystem-fuse/src/fuse_api_handle.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clients/filesystem-fuse/src/fuse_api_handle.rs b/clients/filesystem-fuse/src/fuse_api_handle.rs index 767eaa34ca0..6523396cdce 100644 --- a/clients/filesystem-fuse/src/fuse_api_handle.rs +++ b/clients/filesystem-fuse/src/fuse_api_handle.rs @@ -563,8 +563,7 @@ impl Filesystem for FuseApiHandle { } } -fn fstat_to_file_attr(file_st: &FileStat, context: &FileSystemContext) -> FileAttr { - debug!("file_st: {:?}, context: {:?}", file_st, context); +const fn fstat_to_file_attr(file_st: &FileStat, context: &FileSystemContext) -> FileAttr { debug_assert!(file_st.file_id != 0 && file_st.parent_file_id != 0); FileAttr { ino: file_st.file_id,