Function report |
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 activity | Download SCCT | Chinese |
Name:v2_read_header
Proto:static int v2_read_header(struct super_block *sb, int type, struct v2_disk_dqheader *dqhead)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct super_block * | sb | |
| int | type | |
| struct v2_disk_dqheader * | dqhead |
| 64 | size = quota_read(sb, type, (char * )dqhead, sizeof(structv2_disk_dqheader), 0) |
| 66 | If size != sizeof(structv2_disk_dqheader) Then |
| 67 | quota_error(sb, "Failed header read: expected=%zd got=%zd", sizeof(structv2_disk_dqheader), size) |
| 71 | Return -EIO |
| 73 | Return 0 |
| Name | Describe |
|---|---|
| v2_check_quota_file | Check whether given file is really vfsv0 quotafile |
| v2_read_file_info | Read information header from quota file |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |