Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Release the dentry's inode, using the filesystem* d_iput() operation if defined.

Proto:static void dentry_unlink_inode(struct dentry *dentry)__releases(dentry->d_lock) __releases(dentry->d_inode->i_lock)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
361  inode = Where the name belongs to - NULL is * negative
363  raw_write_seqcount_begin( & per dentry seqlock )
364  __d_clear_type_and_inode(dentry)
365  hlist_del_init( & de alias list )
366  raw_write_seqcount_end( & per dentry seqlock )
367  spin_unlock( & d_lock)
368  spin_unlock( & _blocks, i_bytes, maybe i_size )
369  If Not i_nlink Then snotify_inoderemove - an inode is going away
371  If d_op && d_iput Then d_iput(dentry, inode)
373  Else put an inode
Caller
NameDescribe
__dentry_kill
d_deletedelete a dentry