SysTutorials

Linux Manual Pages › Section 9

vfs_get_link(9)

vfs_get_link – get symlink body

Synopsis

const char *vfs_get_link(struct dentry *dentry, struct delayed_call *done);

Arguments

dentry

dentry on which to get symbolic link

done

caller needs to free returned data with this

Description

Calls security hook and i_op->get_link on the supplied inode.

It does not touch atime. That’s up to the caller if necessary.

Does not work on “special” symlinks like /proc/$$/fd/N

Copyright