'\" t .\" Title: file_update_time .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: March 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.10.7 .\" Language: English .\" .TH "FILE_UPDATE_TIME" "9" "March 2017" "Kernel Hackers Manual 4\&.10\&" "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" file_update_time \- update mtime and ctime time .SH "SYNOPSIS" .HP \w'int\ file_update_time('u .BI "int file_update_time(struct\ file\ *\ " "file" ");" .SH "ARGUMENTS" .PP \fIfile\fR .RS 4 file accessed .RE .SH "DESCRIPTION" .PP Update the mtime and ctime members of an inode and mark the inode for writeback\&. Note that this function is meant exclusively for usage in the file write path of filesystems, and filesystems may choose to explicitly ignore update via this function with the S_NOCMTIME inode flag, e\&.g\&. for network filesystem where these timestamps are handled by the server\&. This can return an error for file systems who need to allocate space in order to update an inode\&. .SH "COPYRIGHT" .br