NTFS_READ_BLOCK

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

 

NAME

ntfs_read_block - fill a page of an address space with data  

SYNOPSIS

"SYNOPSIS"

int ntfs_read_block (struct page * page);  

ARGUMENTS

page
page cache page to fill with data
 

DESCRIPTION

Fill the page page of the address space belonging to the page->host inode. We read each buffer asynchronously and when all buffers are read in, our io completion handler ntfs_end_buffer_read_async, if required, automatically applies the mst fixups to the page before finally marking it uptodate and unlocking it.

We only enforce allocated_size limit because i_size is checked for in generic_file_read.

Return 0 on success and -errno on error.

Contains an adapted version of fs/buffer.c::block_read_full_page.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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