NTFS_TEST_INODE

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

 

NAME

ntfs_test_inode - compare two (possibly fake) inodes for equality  

SYNOPSIS

"SYNOPSIS"

int ntfs_test_inode (struct inode * vi, ntfs_attr * na);  

ARGUMENTS

vi
vfs inode which to test
na
ntfs attribute which is being tested with
 

DESCRIPTION

Compare the ntfs attribute embedded in the ntfs specific part of the vfs inode vi for equality with the ntfs attribute na.

If searching for the normal file/directory inode, set na->type to AT_UNUSED. na->name and na->name_len are then ignored.

Return 1 if the attributes match and 0 if not.  

NOTE

This function runs with the inode_lock spin lock held so it is not allowed to sleep.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
NOTE

This document was created by man2html, using the manual pages.
Time: 05:30:48 GMT, October 06, 2005