.\" 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_READ_BLOCK" "" "06 October 2005" "" ""
.SH NAME
ntfs_read_block \- fill a page of an address space with data
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_read_block (struct page * \fIpage\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIpage\fB\fR
page cache page to fill with data
.SH "DESCRIPTION"
.PP
Fill the page \fIpage\fR of the address space belonging to the \fIpage\fR->host inode.
We read each buffer asynchronously and when all buffers are read in, our io
completion handler \fBntfs_end_buffer_read_async\fR, if required, automatically
applies the mst fixups to the page before finally marking it uptodate and
unlocking it.
.PP
We only enforce allocated_size limit because i_size is checked for in
\fBgeneric_file_read\fR\&.
.PP
Return 0 on success and -errno on error.
.PP
Contains an adapted version of fs/buffer.c::\fBblock_read_full_page\fR\&.