Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:path_parent_directory

Proto:static int path_parent_directory(struct path *path)

Type:int

Parameter:

TypeParameterName
struct path *path
1472  old = dentry
1474  dentry = dget_parent(dentry)
1475  dput(old)
1476  If Value for the false possibility is greater at compile time(!path_connected - Verify that a path->dentry is below path->mnt.mnt_root*@path: nameidate to verify* Rename can sometimes move a file or directory outside of a bind* mount, path_connected allows those cases to be detected.) Then Return -ENOENT
1478  Return 0
Caller
NameDescribe
follow_dotdot
path_pts