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

# vfs_setfsprivate

Set filesystem-private mount data.

## Declaration

```occ
void vfs_setfsprivate(mount_t mp, void *mntdata);
```

## Parameters

- `mp`: Mount for which to set private data.

## Return Value

Return Value Void.

## Discussion

Discussion A filesystem generally has an internal mount structure which it attaches to the VFS-level mount structure as part of the mounting process.
