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, Jun 26, 3:25 AM
Unknown Object (File)
Sun, Jun 21, 6:31 PM
Unknown Object (File)
Sun, Jun 21, 1:38 AM
Unknown Object (File)
Sat, Jun 20, 12:34 PM
Unknown Object (File)
Fri, Jun 19, 1:55 PM
Unknown Object (File)
Thu, Jun 4, 5:08 PM
Unknown Object (File)
May 27 2026, 6:41 PM
Unknown Object (File)
May 26 2026, 6:05 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