Function report |
Source Code:fs\fs_context.c |
Create Date:2022-07-28 20:13:03 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Check for a common mount option that manipulates s_flags.
Proto:static int vfs_parse_sb_flag(struct fs_context *fc, const char *key)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct fs_context * | fc | |
| const char * | key |
| 89 | When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(forbidden_sb_flag) cycle If strcmp(key, forbidden_sb_flag[i]) == 0 Then |
| 91 | Return -EINVAL |
| 93 | token = lookup_constant(common_set_sb_flag, key, 0) |
| 94 | If token Then |
| 100 | token = lookup_constant(common_clear_sb_flag, key, 0) |
| 101 | If token Then |
| 107 | Return -Parameter not supported |
| Name | Describe |
|---|---|
| vfs_parse_fs_param | vfs_parse_fs_param - Add a single parameter to a superblock config*@fc: The filesystem context to modify*@param: The parameter* A single mount option in string form is applied to the filesystem context* being set up |
| 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 |