HomeFreeBSD

Avoid race with "dev_rel()" when using the recently added

Description

Avoid race with "dev_rel()" when using the recently added
"delist_dev()" function. Make sure the character device structure
doesn't go away until the end of the "destroy_dev()" function due to
concurrently running cleanup code inside "devfs_populate()".

MFC after: 1 week
Reported by: dchagin@

Details

Provenance
hselaskyAuthored on
Parents
rS277198: Fix lemul build error related to argument mismatch
Branches
Unknown
Tags
Unknown

Event Timeline