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

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

June 2024 Kernel Hackers Manual 3.10