函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:set_mnt_shared

函数原型:static inline void set_mnt_shared(struct mount *mnt)

返回类型:void

参数:

类型参数名称
struct mount *mnt
35  mnt_flags与等于MNT_SHARED_MASK is the set of flags that should be cleared when a* mount becomes shared. Currently, this is only the flag that says a* mount cannot be bind mounted, since this is how we create a mount* that shares events with another mount的反
36  mnt_flags或等于 the vfsmount is a shared mount
调用者
名称描述
clone_mnt
attach_recursive_mnt@source_mnt : mount tree to be attached*@nd : place the mount tree @source_mnt is attached*@parent_nd : if non-null, detach the source_mnt from its parent and* store the parent mount and mountpoint dentry
change_mnt_propagationvfsmount lock must be held for write