函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:标记索引节点错误

函数原型:void make_bad_inode(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
200  从哈希表中移除索引节点
202  i_mode等于S_IFREG
203  i_atime等于i_mtime等于i_ctime等于rrent_time - Return FS time*@inode: inode.* Return the current time truncated to the time granularity supported by* the fs.* Note that inode and inode->sb cannot be NULL.* Otherwise, the function warns and returns time without truncation.
205  i_op等于bad_inode_ops
206  i_opflags与等于IOP_XATTR的反
207  rmer ->i_op->default_file_ops 等于bad_file_ops
调用者
名称描述
iget_failedget_failed - Mark an under-construction inode as dead and release it*@inode: The inode to discard* Mark an under-construction inode as dead and release it.