函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-29 10:39:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:static bool check_for_nsfs_mounts(struct mount *subtree)

返回类型:bool

参数:

类型参数名称
struct mount *subtree
2585  bool ret = false
2587  lock_mount_hash()
2588 p循环如果mnt_ns_loop( root of the mounted tree )则
2590  转到:out
2592  ret = true
2593  out :
2594  unlock_mount_hash()
2595  返回:ret
调用者
名称描述
do_move_mount