1FILE_UPDATE_TIME(9) The Linux VFS FILE_UPDATE_TIME(9)
2
3
4
6 file_update_time - update mtime and ctime time
7
9 int file_update_time(struct file * file);
10
12 file
13 file accessed
14
16 Update the mtime and ctime members of an inode and mark the inode for
17 writeback. Note that this function is meant exclusively for usage in
18 the file write path of filesystems, and filesystems may choose to
19 explicitly ignore update via this function with the S_NOCMTIME inode
20 flag, e.g. for network filesystem where these timestamps are handled by
21 the server. This can return an error for file systems who need to
22 allocate space in order to update an inode.
23
25Kernel Hackers Manual 3.10 June 2019 FILE_UPDATE_TIME(9)