cvs commit: src/sys/kern kern_conf.c kern_device.c

看板DFBSD_commit作者時間21年前 (2005/03/23 11:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
dillon 2005/03/22 18:50:53 PST DragonFly src repository Modified files: sys/kern kern_conf.c kern_device.c Log: Because destroy_all_dev() checks the mask/match against the device's si_udev, which is a field combining both major and minor numbers, we must mask off the major bits (to retain only the minor bits) from the 'mask' variable in order to allow a generic -1 to be passed as the mask. Otherwise we will not match anything. Revamp a good chunk of the documentation to try to make the major/minor number masking issues clear. Bug-found-by: Chuck Tuffli <chuck_tuffli@agilent.com> Revision Changes Path 1.11 +11 -1 src/sys/kern/kern_conf.c 1.15 +18 -3 src/sys/kern/kern_device.c http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_conf.c.diff?r1=1.10&r2=1.11&f=u http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_device.c.diff?r1=1.14&r2=1.15&f=u
文章代碼(AID): #12GDlw00 (DFBSD_commit)