HomeFreeBSD

gctl_get_geom: Skip validation of g_class.

Description

gctl_get_geom: Skip validation of g_class.

The caller from kernel is expected to provide an valid g_class
pointer, instead of traversing the global g_class list, just
use that pointer directly instead.

Reviewed by: mav
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D25811

Details

Provenance
delphijAuthored on
Reviewer
mav
Differential Revision
D25811: gctl_get_geom: Skip validation of g_class.
Parents
rS363584: geom_map and geom_redboot: Remove unused ctlreq handler.
Branches
Unknown
Tags
Unknown