Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfsmount lock must be held for write

Proto:void mnt_set_mountpoint(struct mount *mnt, struct mountpoint *mp, struct mount *child_mnt)

Type:void

Parameter:

TypeParameterName
struct mount *mnt
struct mountpoint *mp
struct mount *child_mnt
832  m_count++
833  vfsmount lock must be held for read
834  mnt_mountpoint = m_dentry
835  mnt_parent = mnt
836  where is it mounted = mp
837  hlist_add_head( & list mounts with the same mountpoint , & m_list)
Caller
NameDescribe
attach_mntvfsmount lock must be held for write
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
propagate_one