Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mnt_clone_internal

Proto:struct vfsmount *mnt_clone_internal(const struct path *path)

Type:struct vfsmount

Parameter:

TypeParameterName
const struct path *path
1240  p = clone_mnt(real_mount(mnt), dentry, CL_PRIVATE)
1241  If IS_ERR(p) Then Return ERR_CAST - Explicitly cast an error-valued pointer to another pointer type*@ptr: The pointer to cast.* Explicitly cast an error-valued pointer to another pointer type in such a* way as to make it clear that's what's going on.
1243  mnt_flags |= MNT_INTERNAL
1244  Return mnt