Skip to content

Commit

Permalink
Fixes clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ultimaweapon committed Nov 10, 2024
1 parent 726ff2f commit edfe6b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mount/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ pub trait Filesystem: Sized {
/// Represents `vfsops` structure.
pub trait FsOps<K: Kernel>: Sized {
/// Invoke `vfs_root`.
///
/// # Safety
/// `mp` cannot be null.
unsafe fn root(&self, mp: *mut K::Mount, flags: c_int)
-> Result<*mut K::Vnode, NonZero<c_int>>;
}

0 comments on commit edfe6b3

Please sign in to comment.