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, Oct 2, 8:51 AM
Unknown Object (File)
Thu, Oct 1, 7:57 PM
Unknown Object (File)
Sat, Sep 26, 12:43 PM
Unknown Object (File)
Sat, Sep 26, 1:55 AM
Unknown Object (File)
Thu, Sep 24, 7:16 AM
Unknown Object (File)
Thu, Sep 24, 6:00 AM
Unknown Object (File)
Sun, Sep 20, 7:30 AM
Unknown Object (File)
Sep 3 2026, 2:57 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