From 777d5e01a34b8ebe6f1a5751b593266f93e88499 Mon Sep 17 00:00:00 2001 From: Chuyan Zhang Date: Sat, 25 Nov 2023 19:36:31 -0800 Subject: Add dir entry operations --- src/filesystem/trait_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/filesystem') diff --git a/src/filesystem/trait_impl.rs b/src/filesystem/trait_impl.rs index c533c41..73ae878 100644 --- a/src/filesystem/trait_impl.rs +++ b/src/filesystem/trait_impl.rs @@ -46,7 +46,7 @@ impl Filesystem for AyaFS { ) { let parent_inode = parent_inode.clone(); match self.lookup_name(&parent_inode, name) { - Ok((inode_index, inode)) => { + Ok((inode_index, _, inode)) => { let attr = to_fileattr(inode_index as usize, &inode); reply.entry(&TTL, &attr, 0); }, -- cgit v1.2.3-70-g09d2