@ -411,7 +411,7 @@ impl vfs::INode for INodeImpl {
let entry = self.file.read_direntry(id)?;
Ok(String::from(entry.name.as_ref()))
}
fn io_control(&self, _cmd: u32, _data: u32) -> vfs::Result<()> {
fn io_control(&self, _cmd: u32, _data: usize) -> vfs::Result<()> {
Err(FsError::NotSupported)
fn fs(&self) -> Arc<vfs::FileSystem> {
@ -642,7 +642,7 @@ impl vfs::INode for INodeImpl {
.unwrap();
@ -50,7 +50,7 @@ pub trait INode: Any + Sync + Send {
fn get_entry(&self, id: usize) -> Result<String>;
/// Control device
fn io_control(&self, cmd: u32, data: u32) -> Result<()>;
fn io_control(&self, cmd: u32, data: usize) -> Result<()>;
/// Get the file system of the INode
fn fs(&self) -> Arc<FileSystem>;