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)
Sun, Mar 9, 10:40 PM
Unknown Object (File)
Tue, Mar 4, 3:05 PM
Unknown Object (File)
Thu, Feb 27, 6:12 AM
Unknown Object (File)
Wed, Feb 26, 1:15 PM
Unknown Object (File)
Sat, Feb 22, 1:50 AM
Unknown Object (File)
Thu, Feb 20, 5:05 PM
Unknown Object (File)
Feb 6 2025, 8:17 PM
Unknown Object (File)
Feb 4 2025, 7:04 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 59693
Build 56579: arc lint + arc unit