Page MenuHomeFreeBSD

osd: Constify signature of osd_register()
ClosedPublic

Authored by olce on Oct 3 2024, 4:59 PM.
Tags
None
Referenced Files
F131534886: D46886.diff
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
Unknown Object (File)
Wed, Sep 10, 3:28 AM
Unknown Object (File)
Aug 25 2025, 5:50 PM
Unknown Object (File)
Aug 19 2025, 7:57 PM
Unknown Object (File)
Aug 18 2025, 7:49 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