projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
jbd2: fix journal checksum feature flag handling
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ext4
/
file.c
diff --git
a/fs/ext4/file.c
b/fs/ext4/file.c
index 8695f70af1ef2046c2f68a24a5ed4e195cd6dc88..aca7b24a443243c3415221edd082c71e2a1a2ce5 100644
(file)
--- a/
fs/ext4/file.c
+++ b/
fs/ext4/file.c
@@
-200,10
+200,6
@@
static const struct vm_operations_struct ext4_file_vm_ops = {
static int ext4_file_mmap(struct file *file, struct vm_area_struct *vma)
{
- struct address_space *mapping = file->f_mapping;
-
- if (!mapping->a_ops->readpage)
- return -ENOEXEC;
file_accessed(file);
vma->vm_ops = &ext4_file_vm_ops;
return 0;