|
@@ -171,6 +171,7 @@ static int __gfs2_jdata_writepage(struct page *page, struct writeback_control *w
|
|
/**
|
|
/**
|
|
* gfs2_jdata_writepage - Write complete page
|
|
* gfs2_jdata_writepage - Write complete page
|
|
* @page: Page to write
|
|
* @page: Page to write
|
|
|
|
+ * @wbc: The writeback control
|
|
*
|
|
*
|
|
* Returns: errno
|
|
* Returns: errno
|
|
*
|
|
*
|
|
@@ -221,9 +222,10 @@ static int gfs2_writepages(struct address_space *mapping,
|
|
* gfs2_write_jdata_pagevec - Write back a pagevec's worth of pages
|
|
* gfs2_write_jdata_pagevec - Write back a pagevec's worth of pages
|
|
* @mapping: The mapping
|
|
* @mapping: The mapping
|
|
* @wbc: The writeback control
|
|
* @wbc: The writeback control
|
|
- * @writepage: The writepage function to call for each page
|
|
|
|
* @pvec: The vector of pages
|
|
* @pvec: The vector of pages
|
|
* @nr_pages: The number of pages to write
|
|
* @nr_pages: The number of pages to write
|
|
|
|
+ * @end: End position
|
|
|
|
+ * @done_index: Page index
|
|
*
|
|
*
|
|
* Returns: non-zero if loop should terminate, zero otherwise
|
|
* Returns: non-zero if loop should terminate, zero otherwise
|
|
*/
|
|
*/
|
|
@@ -333,8 +335,6 @@ continue_unlock:
|
|
* gfs2_write_cache_jdata - Like write_cache_pages but different
|
|
* gfs2_write_cache_jdata - Like write_cache_pages but different
|
|
* @mapping: The mapping to write
|
|
* @mapping: The mapping to write
|
|
* @wbc: The writeback control
|
|
* @wbc: The writeback control
|
|
- * @writepage: The writepage function to call
|
|
|
|
- * @data: The data to pass to writepage
|
|
|
|
*
|
|
*
|
|
* The reason that we use our own function here is that we need to
|
|
* The reason that we use our own function here is that we need to
|
|
* start transactions before we grab page locks. This allows us
|
|
* start transactions before we grab page locks. This allows us
|
|
@@ -588,6 +588,10 @@ int gfs2_internal_read(struct gfs2_inode *ip, char *buf, loff_t *pos,
|
|
|
|
|
|
/**
|
|
/**
|
|
* gfs2_readpages - Read a bunch of pages at once
|
|
* gfs2_readpages - Read a bunch of pages at once
|
|
|
|
+ * @file: The file to read from
|
|
|
|
+ * @mapping: Address space info
|
|
|
|
+ * @pages: List of pages to read
|
|
|
|
+ * @nr_pages: Number of pages to read
|
|
*
|
|
*
|
|
* Some notes:
|
|
* Some notes:
|
|
* 1. This is only for readahead, so we can simply ignore any things
|
|
* 1. This is only for readahead, so we can simply ignore any things
|
|
@@ -853,7 +857,7 @@ static int gfs2_stuffed_write_end(struct inode *inode, struct buffer_head *dibh,
|
|
* @mapping: The address space to write to
|
|
* @mapping: The address space to write to
|
|
* @pos: The file position
|
|
* @pos: The file position
|
|
* @len: The length of the data
|
|
* @len: The length of the data
|
|
- * @copied:
|
|
|
|
|
|
+ * @copied: How much was actually copied by the VFS
|
|
* @page: The page that has been written
|
|
* @page: The page that has been written
|
|
* @fsdata: The fsdata (unused in GFS2)
|
|
* @fsdata: The fsdata (unused in GFS2)
|
|
*
|
|
*
|