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:Release all quotas referenced by inode.* This function only be called on inode free or converting* a file to quota file, no other users for the i_dquot in* both cases, so we needn't call synchronize_srcu() after* clearing i_dquot.

Proto:static void __dquot_drop(struct inode *inode)

Type:void

Parameter:

TypeParameterName
struct inode *inode
1567  dquots = i_dquot(inode)
1570  spin_lock( & dq_data_lock)
1571  When cnt < MAXQUOTAS cycle
1572  put[cnt] = dquots[cnt]
1573  dquots[cnt] = NULL
1575  spin_unlock( & dq_data_lock)
1576  dqput_all(put)
Caller
NameDescribe
dquot_drop
vfs_setup_quota_inodeTurn quotas on on a device