HomeFreeBSD

geom(4): make g_newprovider_event() return if G_P_WITHER is set

Description

geom(4): make g_newprovider_event() return if G_P_WITHER is set

This fixes a failed assertion in scenario where the provider
disappears, disk_gone() gets called, and at the exact same
time something else closes the device node triggering a retaste.

Reviewed By: mav
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D27330

Details

Provenance
traszAuthored on Dec 29 2020, 2:29 PM
Reviewer
mav
Differential Revision
D27330: In g_newprovider_event() return if G_P_WITHER is set
Parents
rG3e404b8c53db: libcam(3): make cam_getccb(3) zero the whole ccb, not just the header
Branches
Unknown
Tags
Unknown