Scroll to navigation

D_ALLOC_PSEUDO(9) The Linux VFS D_ALLOC_PSEUDO(9)

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.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11