Function report |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-28 20:32:55 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Reenable quotas on remount RW
Proto:int dquot_resume(struct super_block *sb, int type)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct super_block * | sb | |
int | type |
2433 | ret = 0 |
2437 | If WARN_ON_ONCE(rylock for reading -- returns 1 if successful, 0 if contention) Then lease a read lock |
2443 | If Not sb_has_quota_suspended(sb, cnt) Then Continue |
2446 | spin_lock( & dq_state_lock) |
2447 | flags = Flags for diskquotas on this device & dquot_state_flag(DQUOT_USAGE_ENABLED | DQUOT_LIMITS_ENABLED, cnt) |
2451 | spin_unlock( & dq_state_lock) |
2453 | flags = dquot_generic_flag(flags, cnt) |
2454 | ret = dquot_load_quota_sb(sb, cnt, Id of the dqi_format - used when turning * quotas on after remount RW , flags) |
2456 | If ret < 0 Then vfs_cleanup_quota_inode(sb, type) |
2460 | 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 |