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:__do_loopback

Proto:static struct mount *__do_loopback(struct path *old_path, int recurse)

Type:struct mount

Parameter:

TypeParameterName
struct path *old_path
intrecurse
2249  mnt = ERR_PTR( - EINVAL) , old = real_mount(mnt)
2251  If IS_MNT_UNBINDABLE(old) Then Return mnt
2254  If Not check_mnt(old) && d_op != s/nsfs.c Then Return mnt
2257  If Not recurse && has_locked_children(old, dentry) Then Return mnt
2260  If recurse Then mnt = copy_tree(old, dentry, CL_COPY_MNT_NS_FILE)
2262  Else mnt = clone_mnt(old, dentry, 0)
2265  If Not IS_ERR(mnt) Then mnt_flags &= ~MNT_LOCKED
2268  Return mnt
Caller
NameDescribe
do_loopbackdo loopback mount.
open_detached_copy