Bug #1873 ยป 0001-devfs_core.c-workaround-for-issue1873.patch
sys/vfs/devfs/devfs_core.c | ||
---|---|---|
static void
|
||
devfs_detached_filter_detach(struct knote *kn)
|
||
{
|
||
#if 0
|
||
cdev_t dev = (cdev_t)kn->kn_hook;
|
||
knote_remove(&dev->si_kqinfo.ki_note, kn);
|
||
#endif
|
||
devfs_debug(DEVFS_DEBUG_SHOW,
|
||
"Leaked %d due to missing knote_remove!\n",
|
||
sizeof(*kn));
|
||
print_backtrace(-1); /* XXX HACK - knote_remove -> panic */
|
||
}
|
||
static struct filterops devfs_detached_filterops =
|