File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,9 @@ impl okf::Kernel for Kernel {
183
183
#[ offset( 0x37BC60 ) ]
184
184
unsafe fn vfs_unbusy ( self , mp : * mut Self :: Mount ) ;
185
185
186
+ #[ offset( 0x37E9B0 ) ]
187
+ unsafe fn vput ( self , vp : * mut Self :: Vnode ) ;
188
+
186
189
#[ offset( 0x1300A0 ) ]
187
190
unsafe fn vop_unlock ( self , vec : * mut Self :: VopVector , args : * mut Self :: VopUnlock ) -> c_int ;
188
191
}
Original file line number Diff line number Diff line change @@ -237,6 +237,10 @@ pub trait Kernel: MappedKernel {
237
237
/// `mp` cannot be null.
238
238
unsafe fn vfs_unbusy ( self , mp : * mut Self :: Mount ) ;
239
239
240
+ /// # Safety
241
+ /// `vp` cannot be null and must be locked.
242
+ unsafe fn vput ( self , vp : * mut Self :: Vnode ) ;
243
+
240
244
/// # Safety
241
245
/// - `vec` cannot be null.
242
246
/// - `args` cannot be null.
You can’t perform that action at this time.
0 commit comments