回复: about devfs_free
- Reply: Konstantin Belousov : "Re: 鍥炲 : about devfs_free"
- In reply to: YU SHANG : "about devfs_free"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 22 Oct 2023 10:10:52 UTC
I’m sorry. I’ve found it will be detached from cdevp_list in devfs_revoke. 发件人: YU SHANG<mailto:yushang@outlook.com> 发送时间: 2023年10月19日 18:45 收件人: freebsd-drivers@freebsd.org<mailto:freebsd-drivers@freebsd.org> 主题: about devfs_free 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.