mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-28 20:03:22 +00:00
Add as_device method for file handle
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
576578baf4
commit
2edbe1f725
@ -5,6 +5,7 @@ mod static_cap;
|
||||
|
||||
use core::sync::atomic::{AtomicU32, Ordering};
|
||||
|
||||
use crate::fs::device::Device;
|
||||
use crate::fs::file_handle::FileLike;
|
||||
use crate::fs::utils::{
|
||||
AccessMode, Dentry, DirentVisitor, InodeType, IoctlCmd, Metadata, SeekFrom, StatusFlags,
|
||||
|
Reference in New Issue
Block a user