mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-27 20:03:32 +04:00
Rename inode to node for a more generic filesystem.
This commit is contained in:
parent
61d8ace581
commit
d2ab4a1ad7
@ -28,7 +28,7 @@ pub struct Stat {
|
|||||||
/// A file descriptor
|
/// A file descriptor
|
||||||
pub struct Descriptor {
|
pub struct Descriptor {
|
||||||
blockdev: usize,
|
blockdev: usize,
|
||||||
inode: u32,
|
node: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub enum FsError {
|
pub enum FsError {
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
// 16 March 2020
|
// 16 March 2020
|
||||||
|
|
||||||
use crate::fs::{Descriptor, FileSystem, Stat, FsError};
|
use crate::fs::{Descriptor, FileSystem, Stat, FsError};
|
||||||
|
use crate::block;
|
||||||
use alloc::string::String;
|
use alloc::string::String;
|
||||||
|
|
||||||
pub const MAGIC: u16 = 0x4d5a;
|
pub const MAGIC: u16 = 0x4d5a;
|
||||||
|
Loading…
Reference in New Issue
Block a user