NTFS_GET_DENTRY

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

 

NAME

ntfs_get_dentry - find a dentry for the inode from a file handle sub-fragment  

SYNOPSIS

"SYNOPSIS"

struct dentry * ntfs_get_dentry (struct super_block * sb, void * fh);  

ARGUMENTS

sb
super block identifying the mounted ntfs volume
fh
the file handle sub-fragment
 

DESCRIPTION

Find a dentry for the inode given a file handle sub-fragment. This function is called from fs/exportfs/expfs.c::find_exported_dentry which in turn is called from the default ->decode_fh which is export_decode_fh in the same file. The code is closely based on the default ->get_dentry helper fs/exportfs/expfs.c::get_object.

The fh contains two 32-bit unsigned values, the first one is the inode number and the second one is the inode generation.

Return the dentry on success or the error code on error (IS_ERR is true).


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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