Date: Thu, 20 Mar 2008 16:08:42 +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/vm vm_mmap.c src/sys/fs/devfs devfs_rule.c Message-ID: <200803201608.m2KG8g3o023370@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-03-20 16:08:42 UTC FreeBSD src repository Modified files: sys/vm vm_mmap.c sys/fs/devfs devfs_rule.c Log: 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 MFC after: 1 week Revision Changes Path 1.24 +12 -5 src/sys/fs/devfs/devfs_rule.c 1.218 +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?200803201608.m2KG8g3o023370>