函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\quota_v2.c Create Date:2022-07-29 11:09:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Check whether given file is really vfsv0 quotafile

函数原型:static int v2_check_quota_file(struct super_block *sb, int type)

返回类型:int

参数:

类型参数名称
struct super_block *sb
inttype
80  quota_magics[]等于Definitions of magics and versions of current quota files
81  quota_versions[]等于V2_INITQVERSIONS
83  如果v2_read_header(sb, type, & dqhead)则返回:0
85  如果le32_to_cpu(Magic number identifying file )不等于quota_magics[type]或le32_to_cpu(File version )大于quota_versions[type]则返回:0
88  返回:1