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, Sep 1, 8:59 PM
Unknown Object (File)
Tue, Sep 1, 7:46 PM
Unknown Object (File)
Tue, Sep 1, 3:27 PM
Unknown Object (File)
Fri, Aug 28, 2:12 PM
Unknown Object (File)
Wed, Aug 26, 10:17 AM
Unknown Object (File)
Fri, Aug 21, 10:22 PM
Unknown Object (File)
Sat, Aug 15, 2:21 AM
Unknown Object (File)
Thu, Aug 13, 1:34 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