| Function report | 
| 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 activity | Download SCCT | Chinese | 
Name:dquot_quota_enable
Proto:static int dquot_quota_enable(struct super_block *sb, unsigned int flags)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct super_block * | sb | |
| unsigned int | flags | 
| 2511 | If Not ( Flags for diskquotas on this device & DQUOT_QUOTA_SYS_FILE) Then Return -ENOSYS | 
| 2514 | flags &= ~( user quota accounting | group quota accounting | project quota accounting ) | 
| 2518 | If Not (flags & qtype_enforce_flag(type)) Then Continue | 
| 2521 | If Not Functions for checking status of quota Then | 
| 2525 | If sb_has_quota_limits_enabled(sb, type) Then | 
| 2529 | spin_lock( & dq_state_lock) | 
| 2531 | spin_unlock( & dq_state_lock) | 
| 2533 | Return 0 | 
| 2534 | out_err : | 
| 2543 | Return ret | 
| 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 |