Date: Sat, 1 Nov 2003 20:52:53 -0800 (PST) From: Alexander Kabaev <kan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/fs/msdosfs msdosfs_vfsops.c src/sys/gnu/ext2fs ext2_vfsops.c src/sys/kern vfs_default.c src/sys/nfsclient nfs_vfsops.c src/sys/ufs/ffs ffs_vfsops.c src/sys/ufs/ufs ufs_quota.c Message-ID: <200311020452.hA24qr7a032379@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kan 2003/11/01 20:52:53 PST FreeBSD src repository Modified files: sys/fs/msdosfs msdosfs_vfsops.c sys/gnu/ext2fs ext2_vfsops.c sys/kern vfs_default.c sys/nfsclient nfs_vfsops.c sys/ufs/ffs ffs_vfsops.c sys/ufs/ufs ufs_quota.c Log: Take care not to call vput if thread used in corresponding vget wasn't curthread, i.e. when we receive a thread pointer to use as a function argument. Use VOP_UNLOCK/vrele in these cases. The only case there td != curthread known at the moment is boot() calling sync with thread0 pointer. This fixes the panic on shutdown people have reported. Revision Changes Path 1.110 +2 -1 src/sys/fs/msdosfs/msdosfs_vfsops.c 1.111 +2 -1 src/sys/gnu/ext2fs/ext2_vfsops.c 1.90 +2 -1 src/sys/kern/vfs_default.c 1.140 +2 -1 src/sys/nfsclient/nfs_vfsops.c 1.222 +4 -2 src/sys/ufs/ffs/ffs_vfsops.c 1.69 +6 -3 src/sys/ufs/ufs/ufs_quota.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311020452.hA24qr7a032379>