diff options
author | hselasky <hselasky@FreeBSD.org> | 2015-02-05 20:49:13 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2015-02-05 20:49:13 +0000 |
commit | 34369aa374076807c478e6f5977f216d893c74fc (patch) | |
tree | ab0849694fbf99b99b61390be9f21dd68b7ae99d /sys/fs | |
parent | 181bf69d80b7bd5865db0ef46e187479e37c79cf (diff) | |
download | FreeBSD-src-34369aa374076807c478e6f5977f216d893c74fc.zip FreeBSD-src-34369aa374076807c478e6f5977f216d893c74fc.tar.gz |
MFC r277179, r277199 and r277391:
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.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/devfs/devfs_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/fs/devfs/devfs_int.h b/sys/fs/devfs/devfs_int.h index ce55416..6c57109 100644 --- a/sys/fs/devfs/devfs_int.h +++ b/sys/fs/devfs/devfs_int.h @@ -56,6 +56,7 @@ struct cdev_priv { u_int cdp_flags; #define CDP_ACTIVE (1 << 0) #define CDP_SCHED_DTR (1 << 1) +#define CDP_UNREF_DTR (1 << 2) u_int cdp_inuse; u_int cdp_maxdirent; |