| Function report | 
| Source Code: fs\namespace.c | Create Date:2022-07-28 20:09:17 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Check that there aren't references to earlier/same mount namespaces in the* specified subtree. Such references can act as pins for mount namespaces* that aren't checked by the mount-cycle checking code, thereby allowing* cycles to be made.
Proto:static bool check_for_nsfs_mounts(struct mount *subtree)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mount * | subtree | 
| 2585 | bool ret = false | 
| 2587 | lock_mount_hash() | 
| 2588 | When p cycle If mnt_ns_loop( root of the mounted tree ) Then | 
| 2590 | Go to out | 
| 2592 | ret = true | 
| 2593 | out : | 
| 2594 | unlock_mount_hash() | 
| 2595 | Return ret | 
| Name | Describe | 
|---|---|
| do_move_mount | 
| 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 |