Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mark an inode bad due to an I/O error

Proto:void make_bad_inode(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
200  remove an inode from the hash
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
Caller
NameDescribe
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.