Wedson Almeida Filho <wedsonaf@xxxxxxxxx> writes: [...] > + unsafe extern "C" fn statfs_callback( > + dentry: *mut bindings::dentry, > + buf: *mut bindings::kstatfs, > + ) -> core::ffi::c_int { > + from_result(|| { > + // SAFETY: The C API guarantees that `dentry` is valid for read. `d_sb` is > + // immutable, so it's safe to read it. The superblock is guaranteed to be valid dor "valid dor" -> "valid for" BR Andreas