projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'upstream' of git://git.infradead.org/users/pcmoore/audit
[cascardo/linux.git]
/
mm
/
mincore.c
diff --git
a/mm/mincore.c
b/mm/mincore.c
index
14bb9fb
..
2a565ed
100644
(file)
--- a/
mm/mincore.c
+++ b/
mm/mincore.c
@@
-117,7
+117,7
@@
static int mincore_pte_range(pmd_t *pmd, unsigned long addr, unsigned long end,
unsigned char *vec = walk->private;
int nr = (end - addr) >> PAGE_SHIFT;
- if (pmd_trans_huge_lock(pmd, vma, &ptl)
== 1
) {
+ if (pmd_trans_huge_lock(pmd, vma, &ptl)) {
memset(vec, 1, nr);
spin_unlock(ptl);
goto out;