Skip to content

Commit edfe6b3

Browse files
committed
Fixes clippy
1 parent 726ff2f commit edfe6b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/mount/fs.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ pub trait Filesystem: Sized {
1111
/// Represents `vfsops` structure.
1212
pub trait FsOps<K: Kernel>: Sized {
1313
/// Invoke `vfs_root`.
14+
///
15+
/// # Safety
16+
/// `mp` cannot be null.
1417
unsafe fn root(&self, mp: *mut K::Mount, flags: c_int)
1518
-> Result<*mut K::Vnode, NonZero<c_int>>;
1619
}

0 commit comments

Comments
 (0)