18981fef8SAlfred Perlstein.\" 28981fef8SAlfred Perlstein.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. 38981fef8SAlfred Perlstein.\" 48981fef8SAlfred Perlstein.\" Redistribution and use in source and binary forms, with or without 58981fef8SAlfred Perlstein.\" modification, are permitted provided that the following conditions 68981fef8SAlfred Perlstein.\" are met: 78981fef8SAlfred Perlstein.\" 1. Redistributions of source code must retain the above copyright 88981fef8SAlfred Perlstein.\" notice(s), this list of conditions and the following disclaimer as 98981fef8SAlfred Perlstein.\" the first lines of this file unmodified other than the possible 108981fef8SAlfred Perlstein.\" addition of one or more copyright notices. 118981fef8SAlfred Perlstein.\" 2. Redistributions in binary form must reproduce the above copyright 128981fef8SAlfred Perlstein.\" notice(s), this list of conditions and the following disclaimer in the 138981fef8SAlfred Perlstein.\" documentation and/or other materials provided with the distribution. 148981fef8SAlfred Perlstein.\" 158981fef8SAlfred Perlstein.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY 168981fef8SAlfred Perlstein.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 178981fef8SAlfred Perlstein.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 188981fef8SAlfred Perlstein.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY 198981fef8SAlfred Perlstein.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 208981fef8SAlfred Perlstein.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 218981fef8SAlfred Perlstein.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 228981fef8SAlfred Perlstein.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 238981fef8SAlfred Perlstein.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 248981fef8SAlfred Perlstein.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 258981fef8SAlfred Perlstein.\" DAMAGE. 268981fef8SAlfred Perlstein.\" 278981fef8SAlfred Perlstein.\" $FreeBSD$ 288981fef8SAlfred Perlstein.\" 298981fef8SAlfred Perlstein.Dd July 8, 2001 308981fef8SAlfred Perlstein.Dt VFS_UNBUSY 9 318981fef8SAlfred Perlstein.Os 328981fef8SAlfred Perlstein.Sh NAME 338981fef8SAlfred Perlstein.Nm vfs_unbusy 348981fef8SAlfred Perlstein.Nd "Unbusy a mount point. 358981fef8SAlfred Perlstein.Sh SYNOPSIS 368981fef8SAlfred Perlstein.Ft void 378981fef8SAlfred Perlstein.Fo vfs_unbusy 388981fef8SAlfred Perlstein.Fa "struct mount *mp" 398981fef8SAlfred Perlstein.Fa "struct proc *p" 408981fef8SAlfred Perlstein.Fc 418981fef8SAlfred Perlstein.Sh DESCRIPTION 428981fef8SAlfred PerlsteinThe 438981fef8SAlfred Perlstein.Nm 448981fef8SAlfred Perlsteinfunction unbusys (unlocks) a mount point by unlocking 458981fef8SAlfred Perlsteinmp->mnt_lock. The lock is typically aquired by calling 468981fef8SAlfred Perlsteinvfs_busy() prior to this call. 478981fef8SAlfred Perlstein.Pp 488981fef8SAlfred PerlsteinIts arguments are: 498981fef8SAlfred Perlstein.Bl -tag -width uap 508981fef8SAlfred Perlstein.It Ar mp 518981fef8SAlfred PerlsteinThe mount point to unbusy (unlock). 528981fef8SAlfred Perlstein.It Ar p 538981fef8SAlfred PerlsteinThe process responsible for this call. 548981fef8SAlfred Perlstein.El 558981fef8SAlfred Perlstein.Sh LOCKS 568981fef8SAlfred Perlstein.Ar mnt_lock 578981fef8SAlfred Perlsteinmust be locked in 588981fef8SAlfred Perlstein.Ar mp 598981fef8SAlfred Perlsteinprior to calling 608981fef8SAlfred Perlsteinthis function, and it will be unlocked upon return. 618981fef8SAlfred Perlstein.Sh SEE ALSO 628981fef8SAlfred Perlstein.Xr vfs_busy 9 638981fef8SAlfred Perlstein.Sh AUTHORS 648981fef8SAlfred PerlsteinThis man page was written by Chad David. 65