about devfs_free

From: YU SHANG <yushang_at_outlook.com>
Date: Thu, 19 Oct 2023 10:45:40 UTC
Hi guys,
I am a newbie in FreeBSD driver development. I found that devfs_free(sys\fs\devfs\devfs_devs.c) does not detach the cdev_priv from the cdevp_list before free it. cdev_priv is inserted into cdevp_list in devfs_create(sys\fs\devfs\devfs_devs.c). What I have missed? Many thank.