forked from AbleOS/ableos
vfs: remove name from VFS nodes
This commit is contained in:
parent
31a3feb6a0
commit
52ff9f8a3c
|
@ -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::fs::Ext2;
|
||||||
use ext2::sector::SectorSize;
|
use ext2::sector::SectorSize;
|
||||||
use ext2::volume::Volume;
|
use ext2::volume::Volume;
|
||||||
|
|
|
@ -31,9 +31,6 @@ where
|
||||||
|
|
||||||
/// A VFS node, that can either be a file or a directory.
|
/// A VFS node, that can either be a file or a directory.
|
||||||
pub struct FsNode {
|
pub struct FsNode {
|
||||||
// FIXME: move the file name into the directory listing to implement hard
|
|
||||||
// links
|
|
||||||
name: String,
|
|
||||||
flags: FsNodeFlags,
|
flags: FsNodeFlags,
|
||||||
length: u32, // in bytes
|
length: u32, // in bytes
|
||||||
inode: u32, // implementation specific identifier for the node
|
inode: u32, // implementation specific identifier for the node
|
||||||
|
|
Loading…
Reference in a new issue