mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-21 08:26:30 +00:00
Implement dummy metadata()
for epoll and socket files
This commit is contained in:
committed by
Tate, Hongliang Tian
parent
3461bd5de6
commit
96a153dfc5
@ -262,6 +262,8 @@ impl FileLike for EventFile {
|
||||
}
|
||||
|
||||
fn metadata(&self) -> Metadata {
|
||||
// This is a dummy implementation.
|
||||
// TODO: Add "anonymous inode fs" and link `EventFile` to it.
|
||||
let now = RealTimeClock::get().read_time();
|
||||
Metadata {
|
||||
dev: 0,
|
||||
|
Reference in New Issue
Block a user