Page MenuHomeFreeBSD

osd: Constify signature of osd_register()
ClosedPublic

Authored by olce on Oct 3 2024, 4:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 2:24 AM
Unknown Object (File)
Wed, Dec 10, 12:52 AM
Unknown Object (File)
Nov 23 2025, 1:26 AM
Unknown Object (File)
Nov 23 2025, 1:26 AM
Unknown Object (File)
Nov 23 2025, 1:23 AM
Unknown Object (File)
Nov 23 2025, 1:22 AM
Unknown Object (File)
Nov 12 2025, 11:43 AM
Unknown Object (File)
Nov 1 2025, 1:34 AM
Subscribers

Details

Summary

This makes it clear that 'methods' (if not NULL) points to an array that
won't be modified. Internally, this array is indeed copied into the
given OSD type's larger array of all methods for all slots.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable