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)
Sat, Jul 11, 7:18 PM
Unknown Object (File)
Fri, Jul 3, 9:02 AM
Unknown Object (File)
Fri, Jun 26, 3:25 AM
Unknown Object (File)
Jun 21 2026, 6:31 PM
Unknown Object (File)
Jun 21 2026, 1:38 AM
Unknown Object (File)
Jun 20 2026, 12:34 PM
Unknown Object (File)
Jun 19 2026, 1:55 PM
Unknown Object (File)
Jun 4 2026, 5:08 PM
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