Date: Sun, 17 Feb 2002 16:26:10 -0800 (PST) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_vnops.c Message-ID: <200202180026.g1I0QAi27797@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
rwatson 2002/02/17 16:26:10 PST Modified files: sys/kern vfs_vnops.c Log: When vn_open() is failing because it cannot allocate a vm object, call VOP_CLOSE() on the vnode, so that VOP_OPEN() and VOP_CLOSE() calls are symmetric in all failure cases. This prevents an 'open' reference from being leaked in that unlikely failure scenario. Revision Changes Path 1.131 +1 -1 src/sys/kern/vfs_vnops.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?200202180026.g1I0QAi27797>