@@ -83,7 +83,8 @@ EXPORT_SYMBOL(unlock_buffer);
* are unlocked and clean then the PageDirty information is stale. If
* any of the pages are locked, it is assumed they are locked for IO.
*/
-void buffer_check_dirty_writeback(struct page *page,
+void buffer_check_dirty_writeback(struct address_space *__mapping,
+ struct page *page,
bool *dirty, bool *writeback)
{
struct buffer_head *head, *bh;
@@ -437,8 +437,9 @@ static int nfs_release_page(struct address_space *__mapping,
return nfs_fscache_release_page(page, gfp);
}
-static void nfs_check_dirty_writeback(struct page *page,
- bool *dirty, bool *writeback)
+static void nfs_check_dirty_writeback(struct address_space *__mapping,
+ struct page *page,
+ bool *dirty, bool *writeback)
{
struct nfs_inode *nfsi;
struct address_space *mapping = page_file_mapping(page);
@@ -145,7 +145,8 @@ BUFFER_FNS(Defer_Completion, defer_completion)
})
#define page_has_buffers(page) PagePrivate(page)
-void buffer_check_dirty_writeback(struct page *page,
+void buffer_check_dirty_writeback(struct address_space *__mapping,
+ struct page *page,
bool *dirty, bool *writeback);
/*
@@ -415,7 +415,8 @@ struct address_space_operations {
int (*is_partially_uptodate) (struct address_space *, struct page *,
unsigned long,
unsigned long);
- void (*is_dirty_writeback) (struct page *, bool *, bool *);
+ void (*is_dirty_writeback) (struct address_space *, struct page *,
+ bool *, bool *);
int (*error_remove_page)(struct address_space *, struct page *);
/* swapfile support */
@@ -1058,7 +1058,8 @@ static void page_check_dirty_writeback(struct page *page,
mapping = page_mapping(page);
if (mapping && mapping->a_ops->is_dirty_writeback)
- mapping->a_ops->is_dirty_writeback(page, dirty, writeback);
+ mapping->a_ops->is_dirty_writeback(MAPPING_NULL, page, dirty,
+ writeback);
}
/*