'\" t .\" Title: sync_inode_metadata .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SYNC_INODE_METADATA" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" sync_inode_metadata \- write an inode to disk .SH "SYNOPSIS" .HP \w'int\ sync_inode_metadata('u .BI "int sync_inode_metadata(struct\ inode\ *\ " "inode" ", int\ " "wait" ");" .SH "ARGUMENTS" .PP \fIinode\fR .RS 4 the inode to sync .RE .PP \fIwait\fR .RS 4 wait for I/O to complete\&. .RE .SH "DESCRIPTION" .PP Write an inode to disk and adjust its dirty state after completion\&. .SH "NOTE" .PP only writes the actual inode, no associated data or other metadata\&. .SH "COPYRIGHT" .br