#include <linux/fs.h>
#include <linux/gfp.h>
#include <linux/namei.h>
#include "kernfs-internal.h"
struct kernfs_node *kernfs_create_link(struct kernfs_node *parent,
const char *name,
struct kernfs_node *target)
{ … }
static int kernfs_get_target_path(struct kernfs_node *parent,
struct kernfs_node *target, char *path)
{ … }
static int kernfs_getlink(struct inode *inode, char *path)
{ … }
static const char *kernfs_iop_get_link(struct dentry *dentry,
struct inode *inode,
struct delayed_call *done)
{ … }
const struct inode_operations kernfs_symlink_iops = …;