---
title: vfs_unbusy
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: kernel/1523451-vfs_unbusy
---

# vfs_unbusy

"Unbusy" a mountpoint by releasing its read-write lock.

## Declaration

```occ
void vfs_unbusy(mount_t mp);
```

## Parameters

- `mp`: Mount to unbusy.

## Return Value

Return Value void.

## Discussion

Discussion A successful vfs_busy() must be followed by a vfs_unbusy() to release the lock on the mount.
