Name

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

Synopsis

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

Arguments

struct super_block * sb

the superblock

const struct qstr * 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.