__D_FIND_ALIAS

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

__d_find_alias - grab a hashed alias of inode  

SYNOPSIS

"SYNOPSIS"

struct dentry * __d_find_alias (struct inode * inode, int want_discon);  

ARGUMENTS

inode
inode in question
want_discon
flag, used by d_splice_alias, to request that only a DISCONNECTED alias be returned.
 

DESCRIPTION

If inode has a hashed alias, or is a directory and has any alias, acquire the reference to alias and return it. Otherwise return NULL. Notice that if inode is a directory there can be only one alias and it can be unhashed only if it has no children, or if it is the root of a filesystem.

If the inode has a DCACHE_DISCONNECTED alias, then prefer any other hashed alias over that one unless want_discon is set, in which case only return a DCACHE_DISCONNECTED alias.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:01:52 GMT, October 09, 2005