函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\namespace.c Create Date:2022-07-29 10:39:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lone_private_mount - create a private clone of a path* This creates a new vfsmount, which will be the clone of @path. The new will* not be attached anywhere in the namespace and will be private (i.e. changes

函数原型:struct vfsmount *clone_private_mount(const struct path *path)

返回类型:struct vfsmount

参数:

类型参数名称
const struct path *path
1872  old_mnt等于real_mount(mnt)
1875  如果IS_MNT_UNBINDABLE(old_mnt)则返回:错误号
1878  new_mnt等于clone_mnt(old_mnt, dentry, CL_PRIVATE)
1879  如果是错误则返回:错误指示
1882  返回:mnt