Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:graft_tree

Proto:static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp)

Type:int

Parameter:

TypeParameterName
struct mount *mnt
struct mount *p
struct mountpoint *mp
2172  If s_flags & SB_NOUSER Then Return -EINVAL
2175  If d_is_dir(m_dentry) != d_is_dir( root of the mounted tree ) Then Return -ENOTDIR
2179  Return @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
Caller
NameDescribe
do_loopbackdo loopback mount.
do_add_mountadd a mount into a namespace's mount tree