Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:destroy the dentries attached to a superblock on unmounting

Proto:void shrink_dcache_for_umount(struct super_block *sb)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
1616  WARN(rylock for reading -- returns 1 if successful, 0 if contention, "s_umount should've been locked")
1618  dentry = s_root
1619  s_root = NULL
1620  do_one_tree(dentry)
1622  When Not hlist_bl_empty( & s_roots) cycle
1623  dentry = get a reference to a dentry
1624  do_one_tree(dentry)