.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "NTFS_IGET" "" "06 October 2005" "" "" .SH NAME ntfs_iget \- obtain a struct inode corresponding to a specific normal inode .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct inode * ntfs_iget (struct super_block * \fIsb\fB, unsigned long \fImft_no\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsb\fB\fR super block of mounted volume .TP \fB\fImft_no\fB\fR mft record number / inode number to obtain .SH "DESCRIPTION" .PP Obtain the struct inode corresponding to a specific normal inode (i.e. a file or directory). .PP If the inode is in the cache, it is just returned with an increased reference count. Otherwise, a new struct inode is allocated and initialized, and finally \fBntfs_read_locked_inode\fR is called to read in the inode and fill in the remainder of the inode structure. .PP Return the struct inode on success. Check the return value with \fBIS_ERR\fR and if true, the function failed and the error code is obtained from \fBPTR_ERR\fR\&.