Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfs_cleanup_quota_inode

Proto:static void vfs_cleanup_quota_inode(struct super_block *sb, int type)

Type:void

Parameter:

TypeParameterName
struct super_block *sb
inttype
2167  dqopt = sb_dqopt(sb)
2168  inode = inodes of quotafiles [type]
2170  If Not inode Then Return
2172  If Not ( Flags for diskquotas on this device & DQUOT_QUOTA_SYS_FILE) Then
2173  inode_lock(inode)
2174  i_flags &= ~Inode is not counted to quota
2175  inode_unlock(inode)
2177  inodes of quotafiles [type] = NULL
2178  put an inode
Caller
NameDescribe
dquot_disableTurn quota off on a device. type == -1 ==> quotaoff for all types (umount)
dquot_load_quota_inodeMore powerful function for turning on quotas on given quota inode allowing* setting of individual quota flags
dquot_resumeReenable quotas on remount RW