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)
Tue, Feb 4, 7:04 PM
Unknown Object (File)
Sat, Feb 1, 8:30 PM
Unknown Object (File)
Mon, Jan 27, 6:00 AM
Unknown Object (File)
Sun, Jan 26, 5:56 PM
Unknown Object (File)
Sun, Jan 26, 9:16 AM
Unknown Object (File)
Thu, Jan 16, 9:17 PM
Unknown Object (File)
Dec 19 2024, 3:25 PM
Unknown Object (File)
Dec 9 2024, 2:00 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