.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SYNC_INODE" "9" "09 October 2005" "" "" .SH NAME sync_inode \- write an inode and its pages to disk. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int sync_inode (struct inode * \fIinode\fB, struct writeback_control * \fIwbc\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR the inode to sync .TP \fB\fIwbc\fB\fR controls the writeback mode .SH "DESCRIPTION" .PP \fBsync_inode\fR will write an inode and its pages to disk. It will also correctly update the inode on its superblock's dirty inode lists and will update inode->i_state. .PP The caller must have a ref on the inode.