diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 441ef8a6a2a6..da93b001d4f2 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -774,6 +774,7 @@ static const struct vm_operations_struct ext4_file_vm_ops = { .fault = filemap_fault, .map_pages = filemap_map_pages, .page_mkwrite = ext4_page_mkwrite, + .speculative = true, }; static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)