Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dquot_quota_disable

Proto:static int dquot_quota_disable(struct super_block *sb, unsigned int flags)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
unsigned intflags
2550  dqopt = sb_dqopt(sb)
2552  If Not ( Flags for diskquotas on this device & DQUOT_QUOTA_SYS_FILE) Then Return -ENOSYS
2559  If flags & ( user quota accounting | group quota accounting | project quota accounting ) Then Return -EOPNOTSUPP
2564  When type < MAXQUOTAS cycle If Not sb_has_quota_limits_enabled(sb, type) Then
2566  flags &= ~qtype_enforce_flag(type)
2568  If Not flags Then Return -EEXIST
2570  When type < MAXQUOTAS cycle
2571  If flags & qtype_enforce_flag(type) Then
2573  If ret < 0 Then Go to out_err
2577  Return 0
2578  out_err :
2580  When type >= 0 cycle
2581  If flags & qtype_enforce_flag(type) Then
2588  Return ret