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
Alexander Kabaev
kan at FreeBSD.org
Sat Nov 1 20:52:55 PST 2003
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
More information about the cvs-src
mailing list