Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Check whether given file is really vfsv0 quotafile

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

Type:int

Parameter:

TypeParameterName
struct super_block *sb
inttype
80  quota_magics[] = Definitions of magics and versions of current quota files
81  quota_versions[] = V2_INITQVERSIONS
83  If v2_read_header(sb, type, & dqhead) Then Return 0
85  If le32_to_cpu(Magic number identifying file ) != quota_magics[type] || le32_to_cpu(File version ) > quota_versions[type] Then Return 0
88  Return 1