Date: Sun, 5 May 2002 21:47:43 -0700 (PDT) From: Jeff Roberson <jeff@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_subr.c Message-ID: <200205060447.g464lh369371@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jeff 2002/05/05 21:47:43 PDT Modified files: sys/kern vfs_subr.c Log: Hold the currently selected vnode's lock across the call to VOP_GETVOBJECT. Don't try to create a vm object before the file system has a chance to finish initializing it. This is incorrect for a number of reasons. Firstly, that VOP requires a lock which the file system may not have initialized yet. Also, open and others will create a vm object if it is necessary later. Revision Changes Path 1.355 +4 -2 src/sys/kern/vfs_subr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205060447.g464lh369371>