Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:delete a dentry

Proto:void d_delete(struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct dentry *dentry
2442  inode = Where the name belongs to - NULL is * negative
2444  spin_lock( & _blocks, i_bytes, maybe i_size )
2445  spin_lock( & d_lock)
2449  If count == 1 Then
2450  protected by d_lock &= ~DCACHE_CANT_MOUNT
2451  Release the dentry's inode, using the filesystem* d_iput() operation if defined.
2452  Else
2453  drop a dentry
2454  spin_unlock( & d_lock)
2455  spin_unlock( & _blocks, i_bytes, maybe i_size )
Caller
NameDescribe
vfs_unlinkvfs_unlink - unlink a filesystem object*@dir: parent directory*@dentry: victim*@delegated_inode: returns victim inode, if the inode is delegated.* The caller must hold dir->i_mutex.* If vfs_unlink discovers a delegation, it will return -EWOULDBLOCK and
__ns_get_path