Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:done_path_create

Proto:void done_path_create(struct path *path, struct dentry *dentry)

Type:void

Parameter:

TypeParameterName
struct path *path
struct dentry *dentry
3625  dput(dentry)
3626  inode_unlock( Where the name belongs to - NULL is * negative )
3627  mnt_drop_write(mnt)
3628  path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
Caller
NameDescribe
do_mknodat
do_mkdirat
do_symlinkat
do_linkatHardlinks are often used in delicate situations. We avoid* security-related surprises by not following symlinks on the* newname. --KAB* We don't follow them on the oldname either to be compatible* with linux 2.0, and to avoid hard-linking to directories