aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 38356ab827c9..c8667f8b5358 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -429,6 +429,7 @@ struct kstatfs;
429struct vm_area_struct; 429struct vm_area_struct;
430struct vfsmount; 430struct vfsmount;
431struct cred; 431struct cred;
432struct swap_info_struct;
432 433
433extern void __init inode_init(void); 434extern void __init inode_init(void);
434extern void __init inode_init_early(void); 435extern void __init inode_init_early(void);
@@ -640,8 +641,9 @@ struct address_space_operations {
640 int (*error_remove_page)(struct address_space *, struct page *); 641 int (*error_remove_page)(struct address_space *, struct page *);
641 642
642 /* swapfile support */ 643 /* swapfile support */
643 int (*swap_activate)(struct file *file); 644 int (*swap_activate)(struct swap_info_struct *sis, struct file *file,
644 int (*swap_deactivate)(struct file *file); 645 sector_t *span);
646 void (*swap_deactivate)(struct file *file);
645}; 647};
646 648
647extern const struct address_space_operations empty_aops; 649extern const struct address_space_operations empty_aops;