]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Call vfs_unbusy() before error returns from sysctl_vnode(). This fixes
authorbde <bde@FreeBSD.org>
Sat, 28 Oct 1995 08:50:08 +0000 (08:50 +0000)
committerbde <bde@FreeBSD.org>
Sat, 28 Oct 1995 08:50:08 +0000 (08:50 +0000)
commit8e1f5c1aadc0c84c471992476b1a36c3509804f9
tree2921e6771b35a4f94b5e84d23549319b29b26533
parent60d1e7bc0618c40becfa81110920a8835bcdd923
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.
sys/kern/vfs_export.c
sys/kern/vfs_subr.c