NTFS_READ_LOCKED_ATTR_INODE

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

 

NAME

ntfs_read_locked_attr_inode - read an attribute inode from its base inode  

SYNOPSIS

"SYNOPSIS"

int ntfs_read_locked_attr_inode (struct inode * base_vi, struct inode * vi);  

ARGUMENTS

base_vi
base inode
vi
attribute inode to read
 

DESCRIPTION

ntfs_read_locked_attr_inode is called from the ntfs_attr_iget to read the attribute inode described by vi into memory from the base mft record described by base_ni.

ntfs_read_locked_attr_inode maps, pins and locks the base inode for reading and looks up the attribute described by vi before setting up the necessary fields in vi as well as initializing the ntfs inode.  

Q

What locks are held when the function is called?  

A

i_state has I_LOCK set, hence the inode is locked, also i_count is set to 1, so it is not going to go away


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
Q
A

This document was created by man2html, using the manual pages.
Time: 06:21:02 GMT, October 06, 2005