We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 726ff2f commit edfe6b3Copy full SHA for edfe6b3
src/mount/fs.rs
@@ -11,6 +11,9 @@ pub trait Filesystem: Sized {
11
/// Represents `vfsops` structure.
12
pub trait FsOps<K: Kernel>: Sized {
13
/// Invoke `vfs_root`.
14
+ ///
15
+ /// # Safety
16
+ /// `mp` cannot be null.
17
unsafe fn root(&self, mp: *mut K::Mount, flags: c_int)
18
-> Result<*mut K::Vnode, NonZero<c_int>>;
19
}
0 commit comments