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)
Sun, Nov 23, 1:26 AM
Unknown Object (File)
Sun, Nov 23, 1:26 AM
Unknown Object (File)
Sun, Nov 23, 1:23 AM
Unknown Object (File)
Sun, Nov 23, 1:22 AM
Unknown Object (File)
Wed, Nov 12, 11:43 AM
Unknown Object (File)
Nov 1 2025, 1:34 AM
Unknown Object (File)
Oct 31 2025, 8:53 PM
Unknown Object (File)
Oct 31 2025, 8:53 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