diff options
author | Chuyan Zhang <me@zcy.moe> | 2023-11-25 19:36:31 -0800 |
---|---|---|
committer | Chuyan Zhang <me@zcy.moe> | 2023-11-25 19:36:31 -0800 |
commit | 777d5e01a34b8ebe6f1a5751b593266f93e88499 (patch) | |
tree | 3857444fd8aa3663cb210358ce71cb5d9ea3018e /src/filesystem | |
parent | 76ac602c3d79bb39c133c81a38425a77bc0b8b1f (diff) | |
download | myfs-777d5e01a34b8ebe6f1a5751b593266f93e88499.tar.gz myfs-777d5e01a34b8ebe6f1a5751b593266f93e88499.zip |
Add dir entry operations
Diffstat (limited to 'src/filesystem')
-rw-r--r-- | src/filesystem/trait_impl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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); }, |