summaryrefslogtreecommitdiff
path: root/src/filesystem
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem')
-rw-r--r--src/filesystem/trait_impl.rs13
1 files changed, 8 insertions, 5 deletions
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
+}