Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:remove_dquot_ref

Proto:static void remove_dquot_ref(struct super_block *sb, int type, struct list_head *tofree_head)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
inttype
struct list_head *tofree_head
1062  spin_lock( & s_inode_list_lock)
1070  spin_lock( & dq_data_lock)
1071  If Not IS_NOQUOTA(inode) Then
1076  Remove references to dquots from inode and add dquot to list for freeing* if we have the last reference to dquot
1078  spin_unlock( & dq_data_lock)
1080  spin_unlock( & s_inode_list_lock)
Caller
NameDescribe
drop_dquot_refGather all references from inodes and drop them