From owner-cvs-sys Sat Oct 28 01:50:20 1995 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA25597 for cvs-sys-outgoing; Sat, 28 Oct 1995 01:50:20 -0700 Received: (from bde@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id BAA25543 ; Sat, 28 Oct 1995 01:50:11 -0700 Date: Sat, 28 Oct 1995 01:50:11 -0700 From: Bruce Evans Message-Id: <199510280850.BAA25543@freefall.freebsd.org> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern vfs_subr.c Sender: owner-cvs-sys@FreeBSD.org Precedence: bulk bde 95/10/28 01:50:10 Modified: sys/kern vfs_subr.c Log: Call vfs_unbusy() before error returns from sysctl_vnode(). This fixes PR 795. Set the size before one error return from sysctl_vnode() the same as before the other. The caller might want to know about the amount successfully read although the current caller doesn't.