Revert "[ALPS04983389] fs: make some fault handlers support spf"
This reverts commit 47ff3008ef.
Change-Id: I2b3aaf0ab72ae260ee75f31283053acfcb052c1d
Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
@@ -1793,9 +1793,6 @@ out:
|
||||
static const struct vm_operations_struct ceph_vmops = {
|
||||
.fault = ceph_filemap_fault,
|
||||
.page_mkwrite = ceph_page_mkwrite,
|
||||
#ifdef CONFIG_SPECULATIVE_PAGE_FAULT
|
||||
.suitable_for_spf = true,
|
||||
#endif
|
||||
};
|
||||
|
||||
int ceph_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
|
||||
@@ -368,9 +368,6 @@ static const struct vm_operations_struct ext4_file_vm_ops = {
|
||||
.fault = ext4_filemap_fault,
|
||||
.map_pages = filemap_map_pages,
|
||||
.page_mkwrite = ext4_page_mkwrite,
|
||||
#ifdef CONFIG_SPECULATIVE_PAGE_FAULT
|
||||
.suitable_for_spf = true,
|
||||
#endif
|
||||
};
|
||||
|
||||
static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
|
||||
@@ -164,9 +164,6 @@ static const struct vm_operations_struct f2fs_file_vm_ops = {
|
||||
.fault = f2fs_filemap_fault,
|
||||
.map_pages = filemap_map_pages,
|
||||
.page_mkwrite = f2fs_vm_page_mkwrite,
|
||||
#ifdef CONFIG_SPECULATIVE_PAGE_FAULT
|
||||
.suitable_for_spf = true,
|
||||
#endif
|
||||
};
|
||||
|
||||
static int get_parent_ino(struct inode *inode, nid_t *pino)
|
||||
|
||||
@@ -173,9 +173,6 @@ out:
|
||||
static const struct vm_operations_struct ocfs2_file_vm_ops = {
|
||||
.fault = ocfs2_fault,
|
||||
.page_mkwrite = ocfs2_page_mkwrite,
|
||||
#ifdef CONFIG_SPECULATIVE_PAGE_FAULT
|
||||
.suitable_for_spf = true,
|
||||
#endif
|
||||
};
|
||||
|
||||
int ocfs2_mmap(struct file *file, struct vm_area_struct *vma)
|
||||
|
||||
Reference in New Issue
Block a user