From 8a45cd95353ae9fe1286dbc4fcd36faaa66c9f82 Mon Sep 17 00:00:00 2001 From: Chuyan Zhang Date: Sun, 19 Nov 2023 01:03:19 -0800 Subject: Layer 1 test not passing --- src/filesystem/trait_impl.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/filesystem') diff --git a/src/filesystem/trait_impl.rs b/src/filesystem/trait_impl.rs index 9f157a5..3a60578 100644 --- a/src/filesystem/trait_impl.rs +++ b/src/filesystem/trait_impl.rs @@ -1,9 +1,12 @@ -use std::ffi::OsStr; -use std::time::SystemTime; -use fuser::{Filesystem, KernelConfig, ReplyAttr, ReplyData, ReplyDirectory, ReplyEmpty, ReplyEntry, ReplyLseek, ReplyWrite, Request, TimeOrNow}; +use crate::AyaFS; +use fuser::{ + Filesystem, KernelConfig, ReplyAttr, ReplyData, ReplyDirectory, ReplyEmpty, ReplyEntry, + ReplyLseek, ReplyWrite, Request, TimeOrNow, +}; use libc::{c_int, ENOENT, ENOSPC, ENOSYS}; use log::debug; -use crate::AyaFS; +use std::ffi::OsStr; +use std::time::SystemTime; impl Filesystem for AyaFS { fn init(&mut self, _req: &Request<'_>, _config: &mut KernelConfig) -> Result<(), c_int> { @@ -186,4 +189,4 @@ impl Filesystem for AyaFS { ); reply.error(ENOSYS); } -} \ No newline at end of file +} -- cgit v1.2.3-70-g09d2