diff options
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 9d77309da153..38356ab827c9 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -638,6 +638,10 @@ struct address_space_operations { | |||
638 | int (*is_partially_uptodate) (struct page *, read_descriptor_t *, | 638 | int (*is_partially_uptodate) (struct page *, read_descriptor_t *, |
639 | unsigned long); | 639 | unsigned long); |
640 | int (*error_remove_page)(struct address_space *, struct page *); | 640 | int (*error_remove_page)(struct address_space *, struct page *); |
641 | |||
642 | /* swapfile support */ | ||
643 | int (*swap_activate)(struct file *file); | ||
644 | int (*swap_deactivate)(struct file *file); | ||
641 | }; | 645 | }; |
642 | 646 | ||
643 | extern const struct address_space_operations empty_aops; | 647 | extern const struct address_space_operations empty_aops; |