diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-01-14 14:04:29 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-01-14 14:04:29 +0000 |
commit | 99b91105134836ab8410881a39784eacdcd8a1c2 (patch) | |
tree | c8cfae0b952598052767f1b3247322249ead54e6 /sys/sys/conf.h | |
parent | e0e859773e6e787ee1ca89e7705018f8ae353638 (diff) | |
download | FreeBSD-src-99b91105134836ab8410881a39784eacdcd8a1c2.zip FreeBSD-src-99b91105134836ab8410881a39784eacdcd8a1c2.tar.gz |
Add a kernel function to delist our kernel character devices, so that
the device name can be re-used right away in case we are destroying
the character devices in the background.
MFC after: 4 days
Reported by: dchagin@
Diffstat (limited to 'sys/sys/conf.h')
-rw-r--r-- | sys/sys/conf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h index 68e9d0f..035a5fd 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -245,6 +245,7 @@ void clone_cleanup(struct clonedevs **); int clone_create(struct clonedevs **, struct cdevsw *, int *unit, struct cdev **dev, int extra); int count_dev(struct cdev *_dev); +void delist_dev(struct cdev *_dev); void destroy_dev(struct cdev *_dev); int destroy_dev_sched(struct cdev *dev); int destroy_dev_sched_cb(struct cdev *dev, void (*cb)(void *), void *arg); |