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
Merge branch 'akpm' (patches from Andrew Morton)
[firefly-linux-kernel-4.4.55.git]
/
mm
/
nommu.c
diff --git
a/mm/nommu.c
b/mm/nommu.c
index d8a957bb9e3160dc4d4f943deb020ec8279887d6..fec093adad9c1d65799206805f3d95fe19a1da88 100644
(file)
--- a/
mm/nommu.c
+++ b/
mm/nommu.c
@@
-937,7
+937,7
@@
static int validate_mmap_request(struct file *file,
struct address_space *mapping;
/* files must support mmap */
- if (!file->f_op
|| !file->f_op
->mmap)
+ if (!file->f_op->mmap)
return -ENODEV;
/* work out if what we've got could possibly be shared