| Function report | 
| Source Code: fs\fsopen.c | Create Date:2022-07-28 20:13:27 | 
| Last Modify:2022-05-24 07:35:12 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Open a filesystem by name so that it can be configured for mounting.* We are allowed to specify a container in which the filesystem will be* opened, thereby indicating which namespaces will be used (notably, which
Proto:SYSCALL_DEFINE2(fsopen, const char __user *, _fs_name, unsigned int, flags)
Type:
Parameter:Nothing
| 122 | If Not ns_capable(user_ns, Allow setting zone reclaim policy ) Then Return -EPERM | 
| 125 | If flags & ~sopen() flags. Then Return -EINVAL | 
| 132 | fs_type = get_fs_type(fs_name) | 
| 137 | fc = fs_context_for_mount(fs_type, 0) | 
| 138 | put_filesystem(fs_type) | 
| 144 | ret = fscontext_alloc_log(fc) | 
| 150 | err_fc : | 
| 152 | 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 |