Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-28 20:07:59
Last Modify:2020-03-18 19:19:59 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This does the actual work of updating an inodes time or version. Must have* had called mnt_want_write() before calling this.

Proto:static int update_time(struct inode *inode, struct timespec64 *time, int flags)

Type:int

Parameter:

TypeParameterName
struct inode *inode
struct timespec64 *time
intflags
1685  int( * update_time)(struct inode * , struct timespec64 * , int)
1687  update_time = If update_time Then update_time Else generic_update_time
1690  Return update_time(inode, time, flags)
Caller
NameDescribe
touch_atime
file_update_timele_update_time - update mtime and ctime time*@file: file accessed* Update the mtime and ctime members of an inode and mark the inode* for writeback