D_ADD(9) The Linux VFS D_ADD(9)NAMEd_add - add dentry to hash queues
void d_add(struct dentry * entry, struct inode * inode);
dentry to add
The inode to attach to this dentry
This adds the entry to the hash queues and initializes inode. The entry
was actually filled in earlier during d_alloc.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 D_ADD(9)