refactor: fix ext2 warnings
This commit is contained in:
parent
11f731bf0f
commit
b0aab12bf3
@ -98,7 +98,7 @@ impl Ext2Fs {
|
||||
|
||||
inode.dtime = real_time().seconds as u32;
|
||||
|
||||
self.write_inode(ino, &inode).await?;
|
||||
self.write_inode(ino, inode).await?;
|
||||
|
||||
let inode_index = ino - 1;
|
||||
let group_index = inode_index / self.block_group_inode_count;
|
||||
|
@ -10,7 +10,6 @@ use alloc::sync::Arc;
|
||||
use libk::{
|
||||
block,
|
||||
error::Error,
|
||||
time::real_time,
|
||||
vfs::{
|
||||
CommonImpl, DirectoryImpl, DirectoryOpenPosition, Filename, Metadata, Node, NodeFlags,
|
||||
NodeRef,
|
||||
|
@ -16,7 +16,6 @@ use inode::{InodeAccess, InodeCache};
|
||||
use libk::{
|
||||
device::block::{cache::DeviceMapper, BlockDevice},
|
||||
error::Error,
|
||||
time::real_time,
|
||||
vfs::{Filesystem, FilesystemMountOption, NodeRef},
|
||||
};
|
||||
use libk_util::OneTimeInit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user