vfs_unbusy(9)

vfs_unbusy9

Unbusy a mount point

Usage

#include <sys/param.h>

#include <sys/mount.h>

void

vfs_unbusy(struct mount *mp, struct thread *td);

Overview

The vfs_unbusy() function un-busies a mount point by unlocking mp->mnt_lock. The lock is typically acquired by calling vfs_busy(9) prior to this call.

Its arguments are:

mp

The mount point to unbusy (unlock).

td

The thread responsible for this call.

Locks

mnt_lock must be locked in mp prior to calling this function, and it will be unlocked upon return.

Authors

This manual page was written by Chad David ⟨[email protected]⟩.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.