函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\inode.c Create Date:2022-07-29 10:38:08
Last Modify:2020-03-18 19:19:59 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Caller must hold the file's inode lock

函数原型:int file_modified(struct file *file)

返回类型:int

参数:

类型参数名称
struct file *file
1921  err等于Remove special file priviledges (suid, capabilities) when file is written* to or truncated.
1922  如果err则返回:err
1925  如果此条件成立可能性小(为编译器优化)(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.)则返回:0
1928  返回: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