Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vfs_get_link - get symlink body*@dentry: dentry on which to get symbolic link*@done: caller needs to free returned data with this* Calls security hook and i_op->get_link() on the supplied inode.* It does not touch atime

Proto:const char *vfs_get_link(struct dentry *dentry, struct delayed_call *done)

Type:char

Parameter:

TypeParameterName
struct dentry *dentry
struct delayed_call *done
4702  res = ERR_PTR( - EINVAL)
4703  inode = d_inode - Get the actual inode of this dentry*@dentry: The dentry to query* This is the helper normal filesystems should use to get at their own inodes* in their own dentries and ignore the layering superimposed upon them.
4705  If d_is_symlink(dentry) Then
4706  res = ERR_PTR(security_inode_readlink(dentry))
4707  If Not res Then res = get_link(dentry, inode, done)
4710  Return res