diff options
Diffstat (limited to 'fs/nilfs2/page.h')
-rw-r--r-- | fs/nilfs2/page.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/nilfs2/page.h b/fs/nilfs2/page.h index f53d8da41ed7..fb9e8a8a2038 100644 --- a/fs/nilfs2/page.h +++ b/fs/nilfs2/page.h | |||
@@ -35,12 +35,14 @@ enum { | |||
35 | BH_NILFS_Node, | 35 | BH_NILFS_Node, |
36 | BH_NILFS_Volatile, | 36 | BH_NILFS_Volatile, |
37 | BH_NILFS_Checked, | 37 | BH_NILFS_Checked, |
38 | BH_NILFS_Redirected, | ||
38 | }; | 39 | }; |
39 | 40 | ||
40 | BUFFER_FNS(NILFS_Allocated, nilfs_allocated) /* nilfs private buffers */ | 41 | BUFFER_FNS(NILFS_Allocated, nilfs_allocated) /* nilfs private buffers */ |
41 | BUFFER_FNS(NILFS_Node, nilfs_node) /* nilfs node buffers */ | 42 | BUFFER_FNS(NILFS_Node, nilfs_node) /* nilfs node buffers */ |
42 | BUFFER_FNS(NILFS_Volatile, nilfs_volatile) | 43 | BUFFER_FNS(NILFS_Volatile, nilfs_volatile) |
43 | BUFFER_FNS(NILFS_Checked, nilfs_checked) /* buffer is verified */ | 44 | BUFFER_FNS(NILFS_Checked, nilfs_checked) /* buffer is verified */ |
45 | BUFFER_FNS(NILFS_Redirected, nilfs_redirected) /* redirected to a copy */ | ||
44 | 46 | ||
45 | 47 | ||
46 | void nilfs_mark_buffer_dirty(struct buffer_head *bh); | 48 | void nilfs_mark_buffer_dirty(struct buffer_head *bh); |
@@ -59,6 +61,10 @@ void nilfs_free_private_page(struct page *); | |||
59 | int nilfs_copy_dirty_pages(struct address_space *, struct address_space *); | 61 | int nilfs_copy_dirty_pages(struct address_space *, struct address_space *); |
60 | void nilfs_copy_back_pages(struct address_space *, struct address_space *); | 62 | void nilfs_copy_back_pages(struct address_space *, struct address_space *); |
61 | void nilfs_clear_dirty_pages(struct address_space *); | 63 | void nilfs_clear_dirty_pages(struct address_space *); |
64 | void nilfs_mapping_init_once(struct address_space *mapping); | ||
65 | void nilfs_mapping_init(struct address_space *mapping, | ||
66 | struct backing_dev_info *bdi, | ||
67 | const struct address_space_operations *aops); | ||
62 | unsigned nilfs_page_count_clean_buffers(struct page *, unsigned, unsigned); | 68 | unsigned nilfs_page_count_clean_buffers(struct page *, unsigned, unsigned); |
63 | 69 | ||
64 | #define NILFS_PAGE_BUG(page, m, a...) \ | 70 | #define NILFS_PAGE_BUG(page, m, a...) \ |