d_alloc_pseudo(9) allocate a dentry (for lookup-less filesystems)

SYNOPSIS

struct dentry * d_alloc_pseudo(struct super_block * sb, const struct qstr * name);

ARGUMENTS

sb

the superblock

name

qstr of the name

DESCRIPTION

For a filesystem that just pins its dentries in memory and never performs lookups at all, return an unhashed IS_ROOT dentry.

COPYRIGHT