---
name: "vfs_unbusy"
section: "9"
platform: "linux"
package: "freebsd-manpages"
version: "6.0-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux", "freebsd"]
url: "https://new.carta.tech/vfs_unbusy"
---

# vfs\_unbusy(9)

unbusy a mount point

## NAME

**vfs\_unbusy** – unbusy a mount point

## SYNOPSIS

**#include \<sys/param.h\>**

**#include \<sys/mount.h\>**

*void*\

**vfs\_unbusy**(*struct mount \*mp*, *struct thread \*td*);

## DESCRIPTION

The **vfs\_unbusy**() function un-busies a mount point by unlocking *mp-\>mnt\_lock*. The lock is typically acquired by calling [vfs\_busy(9)](/vfs_busy/9.md) 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.

## SEE ALSO

[vfs\_busy(9)](/vfs_busy/9.md)

## AUTHORS

This manual page was written by Chad David ⟨davidc@acns.ab.ca⟩.
