d_alloc_pseudo (9) Linux Manual Page
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
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.
