Date: Tue, 11 Jun 1996 20:38:01 -0700 (PDT) From: David Greenman <davidg> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/isofs/cd9660 cd9660_node.c src/sys/miscfs/kernfs kernfs_vfsops.c src/sys/miscfs/nullfs null_subr.c src/sys/miscfs/portal portal_vfsops.c portal_vnops.c src/sys/miscfs/umapfs umap_subr.c src/sys/msdosfs msdosfs_denode.c src/sys/miscfs/fdesc fdesc_vnops.c src/sys/miscfs/procfs procfs_subr.c src/sys/nfs nfs_node.c src/sys/ufs/ffs ffs_vfsops.c src/sys/ufs/lfs lfs_alloc.c src/sys/ufs/mfs mfs_vfsops.c Message-ID: <199606120338.UAA22615@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidg 96/06/11 20:37:59
Modified: sys/isofs/cd9660 cd9660_node.c
Log:
Moved the fsnode MALLOC to before the call to getnewvnode() so that the
process won't possibly block before filling in the fsnode pointer (v_data)
which might be dereferenced during a sync since the vnode is put on the
mnt_vnodelist by getnewvnode.
Revision Changes Path
1.13 +11 -4 src/sys/isofs/cd9660/cd9660_node.c
Modified: sys/miscfs/fdesc fdesc_vnops.c
sys/miscfs/kernfs kernfs_vfsops.c
sys/miscfs/nullfs null_subr.c
sys/miscfs/portal portal_vfsops.c portal_vnops.c
sys/miscfs/procfs procfs_subr.c
sys/miscfs/umapfs umap_subr.c
sys/msdosfs msdosfs_denode.c
sys/nfs nfs_node.c
sys/ufs/ffs ffs_vfsops.c
sys/ufs/lfs lfs_alloc.c
sys/ufs/mfs mfs_vfsops.c
Log:
Moved the fsnode MALLOC to before the call to getnewvnode() so that the
process won't possibly block before filling in the fsnode pointer (v_data)
which might be dereferenced during a sync since the vnode is put on the
mnt_vnodelist by getnewvnode.
Pointed out by Matt Day <mday@artisoft.com>
Revision Changes Path
1.16 +11 -3 src/sys/miscfs/fdesc/fdesc_vnops.c
1.14 +7 -4 src/sys/miscfs/kernfs/kernfs_vfsops.c
1.6 +11 -3 src/sys/miscfs/nullfs/null_subr.c
1.11 +13 -6 src/sys/miscfs/portal/portal_vfsops.c
1.12 +12 -6 src/sys/miscfs/portal/portal_vnops.c
1.6 +12 -6 src/sys/miscfs/procfs/procfs_subr.c
1.7 +14 -4 src/sys/miscfs/umapfs/umap_subr.c
1.17 +9 -3 src/sys/msdosfs/msdosfs_denode.c
1.13 +9 -2 src/sys/nfs/nfs_node.c
1.39 +12 -3 src/sys/ufs/ffs/ffs_vfsops.c
1.11 +9 -2 src/sys/ufs/lfs/lfs_alloc.c
1.22 +13 -5 src/sys/ufs/mfs/mfs_vfsops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199606120338.UAA22615>
