Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\pnode.h Create Date:2022-07-28 20:09:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:set_mnt_shared

Proto:static inline void set_mnt_shared(struct mount *mnt)

Type:void

Parameter:

TypeParameterName
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
Caller
NameDescribe
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