diff --git a/clients/filesystem-fuse/src/fuse_api_handle.rs b/clients/filesystem-fuse/src/fuse_api_handle.rs index 7df6bd47eab..6ce22d65705 100644 --- a/clients/filesystem-fuse/src/fuse_api_handle.rs +++ b/clients/filesystem-fuse/src/fuse_api_handle.rs @@ -554,8 +554,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); let perm = match file_st.kind { Directory => context.default_dir_perm,