Page MenuHomeFreeBSD

osd: Constify signature of osd_register()
ClosedPublic

Authored by olce on Oct 3 2024, 4:59 PM.
Tags
None
Referenced Files
F146203391: D46886.id144170.diff
Sat, Feb 28, 5:43 PM
F146151243: D46886.id144170.diff
Sat, Feb 28, 6:29 AM
Unknown Object (File)
Fri, Feb 27, 3:24 AM
Unknown Object (File)
Mon, Feb 23, 7:22 PM
Unknown Object (File)
Sat, Feb 21, 4:52 AM
Unknown Object (File)
Sun, Feb 8, 2:14 AM
Unknown Object (File)
Dec 12 2025, 2:24 AM
Unknown Object (File)
Dec 10 2025, 12:52 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