---
name: "sync_inode_metadata"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/sync_inode_metadata"
---

# sync\_inode\_metadata(9)

write an inode to disk

## NAME

sync\_inode\_metadata - write an inode to disk

## SYNOPSIS

**int sync\_inode\_metadata(struct inode \*** *inode***, int** *wait***);**

## ARGUMENTS

*inode*

the inode to sync

*wait*

wait for I/O to complete.

## DESCRIPTION

Write an inode to disk and adjust its dirty state after completion.

## NOTE

only writes the actual inode, no associated data or other metadata.

## COPYRIGHT
