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

# vfs_sync

## Declaration

```occ
int (*vfs_sync)(struct mount *mp, int waitfor, vfs_context_t context);
```
