diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 2 | ||||
-rw-r--r-- | include/linux/mm.h | 2 | ||||
-rw-r--r-- | include/linux/mm_types.h | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index cdf9495df204..5d2c86bdf5ba 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -635,7 +635,6 @@ struct address_space { | |||
635 | struct prio_tree_root i_mmap; /* tree of private and shared mappings */ | 635 | struct prio_tree_root i_mmap; /* tree of private and shared mappings */ |
636 | struct list_head i_mmap_nonlinear;/*list VM_NONLINEAR mappings */ | 636 | struct list_head i_mmap_nonlinear;/*list VM_NONLINEAR mappings */ |
637 | spinlock_t i_mmap_lock; /* protect tree, count, list */ | 637 | spinlock_t i_mmap_lock; /* protect tree, count, list */ |
638 | unsigned int truncate_count; /* Cover race condition with truncate */ | ||
639 | unsigned long nrpages; /* number of total pages */ | 638 | unsigned long nrpages; /* number of total pages */ |
640 | pgoff_t writeback_index;/* writeback starts here */ | 639 | pgoff_t writeback_index;/* writeback starts here */ |
641 | const struct address_space_operations *a_ops; /* methods */ | 640 | const struct address_space_operations *a_ops; /* methods */ |
@@ -644,7 +643,6 @@ struct address_space { | |||
644 | spinlock_t private_lock; /* for use by the address_space */ | 643 | spinlock_t private_lock; /* for use by the address_space */ |
645 | struct list_head private_list; /* ditto */ | 644 | struct list_head private_list; /* ditto */ |
646 | struct address_space *assoc_mapping; /* ditto */ | 645 | struct address_space *assoc_mapping; /* ditto */ |
647 | struct mutex unmap_mutex; /* to protect unmapping */ | ||
648 | } __attribute__((aligned(sizeof(long)))); | 646 | } __attribute__((aligned(sizeof(long)))); |
649 | /* | 647 | /* |
650 | * On most architectures that alignment is already the case; but | 648 | * On most architectures that alignment is already the case; but |
diff --git a/include/linux/mm.h b/include/linux/mm.h index ffcce9bf2b54..2ad0ac8c3f32 100644 --- a/include/linux/mm.h +++ b/include/linux/mm.h | |||
@@ -895,8 +895,6 @@ struct zap_details { | |||
895 | struct address_space *check_mapping; /* Check page->mapping if set */ | 895 | struct address_space *check_mapping; /* Check page->mapping if set */ |
896 | pgoff_t first_index; /* Lowest page->index to unmap */ | 896 | pgoff_t first_index; /* Lowest page->index to unmap */ |
897 | pgoff_t last_index; /* Highest page->index to unmap */ | 897 | pgoff_t last_index; /* Highest page->index to unmap */ |
898 | spinlock_t *i_mmap_lock; /* For unmap_mapping_range: */ | ||
899 | unsigned long truncate_count; /* Compare vm_truncate_count */ | ||
900 | }; | 898 | }; |
901 | 899 | ||
902 | struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, | 900 | struct page *vm_normal_page(struct vm_area_struct *vma, unsigned long addr, |
diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index 02aa5619709b..201998e5b530 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h | |||
@@ -175,7 +175,6 @@ struct vm_area_struct { | |||
175 | units, *not* PAGE_CACHE_SIZE */ | 175 | units, *not* PAGE_CACHE_SIZE */ |
176 | struct file * vm_file; /* File we map to (can be NULL). */ | 176 | struct file * vm_file; /* File we map to (can be NULL). */ |
177 | void * vm_private_data; /* was vm_pte (shared mem) */ | 177 | void * vm_private_data; /* was vm_pte (shared mem) */ |
178 | unsigned long vm_truncate_count;/* truncate_count or restart_addr */ | ||
179 | 178 | ||
180 | #ifndef CONFIG_MMU | 179 | #ifndef CONFIG_MMU |
181 | struct vm_region *vm_region; /* NOMMU mapping region */ | 180 | struct vm_region *vm_region; /* NOMMU mapping region */ |