vfs: remove name from VFS nodes

This commit is contained in:
TheOddGarlic 2022-08-03 19:39:09 +03:00
parent 31a3feb6a0
commit 52ff9f8a3c
2 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,9 @@
/*
* Copyright (c) 2022, Umut İnan Erdoğan <umutinanerdogan@pm.me>
*
* SPDX-License-Identifier: MPL-2.0
*/
use ext2::fs::Ext2;
use ext2::sector::SectorSize;
use ext2::volume::Volume;

View file

@ -31,9 +31,6 @@ where
/// A VFS node, that can either be a file or a directory.
pub struct FsNode {
// FIXME: move the file name into the directory listing to implement hard
// links
name: String,
flags: FsNodeFlags,
length: u32, // in bytes
inode: u32, // implementation specific identifier for the node