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
NFC: st-nci: Keep st_nci_gates unchanged in load_session
[firefly-linux-kernel-4.4.55.git]
/
mm
/
madvise.c
diff --git
a/mm/madvise.c
b/mm/madvise.c
index ce3a4222c7e7ae4558b201704a0ee5d55518fcfc..c889fcbb530e98d8779ef75750e1fde08bf786cf 100644
(file)
--- a/
mm/madvise.c
+++ b/
mm/madvise.c
@@
-301,7
+301,7
@@
static long madvise_remove(struct vm_area_struct *vma,
*prev = NULL; /* tell sys_madvise we drop mmap_sem */
- if (vma->vm_flags &
(VM_LOCKED | VM_HUGETLB)
)
+ if (vma->vm_flags &
VM_LOCKED
)
return -EINVAL;
f = vma->vm_file;