Date: Fri, 16 May 2008 10:35:16 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/devfs devfs_rule.c src/sys/vm vm_mmap.c Message-ID: <200805161035.m4GAZG9G085344@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-05-16 10:35:16 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/fs/devfs devfs_rule.c
sys/vm vm_mmap.c
Log:
MFC rev. 1.24 of the sys/fs/devfs/devfs_rule.c,
rev. 1.218 of the sys/vm/vm_mmap.c
Do not dereference cdev->si_cdevsw, use the dev_refthread() to properly
obtain the reference. In particular, this fixes the panic reported in
the PR. Remove the comments stating that this needs to be done.
PR: kern/119422
Revision Changes Path
1.14.2.4 +12 -5 src/sys/fs/devfs/devfs_rule.c
1.200.2.5 +16 -4 src/sys/vm/vm_mmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805161035.m4GAZG9G085344>
