aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/usb2
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-09-01 14:00:39 +0000
committerMark Johnston <markj@FreeBSD.org>2024-09-01 14:09:17 +0000
commitcef5f43f819cecdbd16f9686e8186d055b19479e (patch)
tree263c486fc46686d0645b4ba092fdcb33cf3d02e2 /sys/modules/usb2
parent887c0877a642c7427aff0cfd0d844b2711e71e1e (diff)
vmm: Use make_dev_s() to create vmm devices
This avoids creating windows where a device file is accessible but the device-specific field is not set. Now that vmmdev_mtx is a sleepable lock, avoid dropping it while creating devices files. This makes it easier to handle races and simplifies some code; for example, the VSC_LINKED flag is no longer needed. Suggested by: jhb Reviewed by: imp, jhb Differential Revision: https://reviews.freebsd.org/D46488
Diffstat (limited to 'sys/modules/usb2')
0 files changed, 0 insertions, 0 deletions