.\" 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 "GENERIC_OSYNC_INODE" "" "06 October 2005" "" "" .SH NAME generic_osync_inode \- flush all dirty data for a given inode to disk .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int generic_osync_inode (struct inode * \fIinode\fB, int \fIwhat\fB); \fR .SH "ARGUMENTS" .TP \fB\fIinode\fB\fR inode to write .TP \fB\fIwhat\fB\fR what to write and wait upon .SH "DESCRIPTION" .PP This can be called by file_write functions for files which have the O_SYNC flag set, to flush dirty writes to disk. .PP \fIwhat\fR is a bitmask, specifying which part of the inode's data should be .SH "WRITTEN AND WAITED UPON" .PP .SH "OSYNC_DATA" .PP i_mapping's dirty data .SH "OSYNC_METADATA" .PP the buffers at i_mapping->private_list .SH "OSYNC_INODE" .PP the inode itself