Update to RedoxFS 0.5.0

This commit is contained in:
Jeremy Soller
2022-02-28 12:24:00 -07:00
parent 84856f459d
commit 621a4dee2c
3 changed files with 289 additions and 106 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ fn with_redoxfs<P, T, F>(disk_path: &P, bootloader: &[u8], callback: F)
}
let ctime = time::SystemTime::now().duration_since(time::UNIX_EPOCH).unwrap();
let fs = FileSystem::create_reserved(disk, bootloader, ctime.as_secs(), ctime.subsec_nanos()).unwrap();
let fs = FileSystem::create_reserved(disk, None, bootloader, ctime.as_secs(), ctime.subsec_nanos()).unwrap();
let callback_mutex = sync::Arc::new(sync::Mutex::new(callback));
let join_handle = redoxfs::mount(fs, mount_path, move |real_path| {