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)
Thu, Apr 17, 2:16 AM
Unknown Object (File)
Mon, Apr 14, 4:31 PM
Unknown Object (File)
Sun, Apr 13, 11:05 PM
Unknown Object (File)
Thu, Apr 10, 5:44 AM
Unknown Object (File)
Mar 9 2025, 10:40 PM
Unknown Object (File)
Mar 4 2025, 3:05 PM
Unknown Object (File)
Feb 27 2025, 6:12 AM
Unknown Object (File)
Feb 26 2025, 1:15 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