1
0
mirror of https://github.com/sgmarz/osblog.git synced 2024-11-23 18:06:20 +04:00

Rename inode to node for a more generic filesystem.

This commit is contained in:
Stephen Marz 2020-03-18 22:37:12 -04:00
parent 61d8ace581
commit d2ab4a1ad7
2 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,7 @@ pub struct Stat {
/// A file descriptor
pub struct Descriptor {
blockdev: usize,
inode: u32,
node: u32,
}
pub enum FsError {

View File

@ -4,6 +4,7 @@
// 16 March 2020
use crate::fs::{Descriptor, FileSystem, Stat, FsError};
use crate::block;
use alloc::string::String;
pub const MAGIC: u16 = 0x4d5a;