vfs: remove name from VFS nodes

master
TheOddGarlic 2022-08-03 19:39:09 +03:00
parent a1f6bae9df
commit 81fc36df8b
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