SysTutorials

Linux Manual Pages › Section 9

sync_inode_metadata(9)

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