Module os::fs::inode

source ·
Expand description

Arc<Inode> -> OSInodeInner: In order to open files concurrently we need to wrap Inode into Arc,but Mutex in Inode prevents file systems from being accessed simultaneously

UPSafeCell<OSInodeInner> -> OSInode: for static ROOT_INODE,we need to wrap OSInodeInner into UPSafeCell

Structs

Functions