freebsd-nq/sys/cddl
Ed Schouten 3f0fb35417 Use a proper destructor function.
When calling a revoke(2) on a dtrace device, dtrace_close() could be
called, even if threads are still stuck in the device. Defer the actual
deallocation of datastructures to the cdevpriv destructor.

While there, remove the unneeded D_TRACKCLOSE and D_NEEDMINOR flags. For
the helper device, we never need it. For the regular dtrace devices, we
only need these flags on FreeBSD pre-8.

MFC after:	1 month
2012-08-28 18:33:12 +00:00
..
boot/zfs Introduce "feature flags" for ZFS pools (bump SPA version to 5000). 2012-06-11 11:35:22 +00:00
compat/opensolaris Fix found places where uio_resid is truncated to int. 2012-02-21 01:05:12 +00:00
contrib/opensolaris Use a proper destructor function. 2012-08-28 18:33:12 +00:00
dev Change UL to ULL since time is 32 bits. 2012-07-17 14:36:40 +00:00