---
title: vfs_unmount
framework: Kernel
role: symbol
role_heading: Instance Property
platforms: [macOS 10.6+]
path: kernel/vfsops/1523398-vfs_unmount
---

# vfs_unmount

## Declaration

```occ
int (*vfs_unmount)(struct mount *mp, int mntflags, vfs_context_t context);
```
