| Function report | 
| Source Code: fs\quota\quota.c | Create Date:2022-07-28 20:33:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:check_quotactl_permission
Proto:static int check_quotactl_permission(struct super_block *sb, int type, int cmd, qid_t id)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | sb | |
| int | type | |
| int | cmd | |
| qid_t | id | 
| 28 | Case cmd == get quota format used on given filesystem | 
| 29 | Case cmd == sync disk copy of a filesystems quotas | 
| 30 | Case cmd == get information about quota files | 
| 31 | Case cmd == get quota subsystem status | 
| 32 | Case cmd == wer version of get quota | 
| 33 | Case cmd == delalloc flush, updates dquots | 
| 34 | Break | 
| 36 | Case cmd == get user quota structure | 
| 37 | Case cmd == get disk limits and usage | 
| 42 | Default | 
| 43 | If Not Check operation authority Then Return -EPERM | 
| 47 | Return security_quotactl(cmd, type, id, sb) | 
| Name | Describe | 
|---|---|
| do_quotactl | Copy parameters and call proper function | 
| 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 |