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, Oct 25, 3:22 PM
Unknown Object (File)
Tue, Oct 21, 1:21 PM
Unknown Object (File)
Thu, Oct 9, 8:44 PM
Unknown Object (File)
Thu, Oct 9, 2:42 AM
Unknown Object (File)
Thu, Oct 9, 12:58 AM
Unknown Object (File)
Fri, Oct 3, 2:58 AM
Unknown Object (File)
Wed, Oct 1, 10:08 PM
Unknown Object (File)
Wed, Oct 1, 5:18 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