suse man page for d_splice_alias

Query: d_splice_alias

OS: suse

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

D_SPLICE_ALIAS(9)						   The Linux VFS						 D_SPLICE_ALIAS(9)

NAME
d_splice_alias - splice a disconnected dentry into the tree if one exists
SYNOPSIS
struct dentry * d_splice_alias(struct inode * inode, struct dentry * dentry);
ARGUMENTS
inode the inode which may have a disconnected dentry dentry a negative dentry which we want to point to the inode.
DESCRIPTION
If inode is a directory and has a 'disconnected' dentry (i.e. IS_ROOT and DCACHE_DISCONNECTED), then d_move that in place of the given dentry and return it, else simply d_add the inode to the dentry and return NULL. This is needed in the lookup routine of any filesystem that is exportable (via knfsd) so that we can build dcache paths to directories effectively. If a dentry was found and moved, then it is returned. Otherwise NULL is returned. This matches the expected return value of ->lookup.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 D_SPLICE_ALIAS(9)
Related Man Pages
debugfs_create_u16(9) - centos
debugfs_create_bool(9) - centos
debugfs_create_bool(9) - suse
debugfs_create_u32(9) - suse
debugfs_create_u8(9) - suse
Similar Topics in the Unix Linux Community
Migrating to UNIX
Tar Command
Docker learning Phase-I
Shopt -s histappend
32 bit process addressing more than 4GB