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:Caller must hold the file's inode lock

Proto:int file_modified(struct file *file)

Type:int

Parameter:

TypeParameterName
struct file *file
1921  err = Remove special file priviledges (suid, capabilities) when file is written* to or truncated.
1922  If err Then Return err
1925  If Value for the false possibility is greater at compile time(f_mode & Don't update ctime and mtime.* Currently a special hack for the XFS open_by_handle ioctl, but we'll* hopefully graduate it to a proper O_CMTIME flag supported by open(2) soon.) Then Return 0
1928  Return le_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