HomeFreeBSD

vm_object: do not assume that un_pager.devp.dev is cdev

Description

vm_object: do not assume that un_pager.devp.dev is cdev

It is subtype-specific handle. Mark OBJT_DEVICE that do fill cdev into
the handle, with a new object flag OBJ_CDEVH.

PR: 282533
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D47443

Details

Provenance
kibAuthored on Mon, Nov 4, 9:54 PM
Reviewer
markj
Differential Revision
D47443: Fix panic with non-cdev un_pager.devp.dev
Parents
rGf0c07fe3d000: device_pager: rename the un_pager.devp.dev field to handle
Branches
Unknown
Tags
Unknown