projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a984604
)
mm/memory.c: fix mismerge
author
Matthew Wilcox
<willy@infradead.org>
Sat, 12 Aug 2023 15:56:25 +0000
(16:56 +0100)
committer
Andrew Morton
<akpm@linux-foundation.org>
Thu, 24 Aug 2023 23:20:16 +0000
(16:20 -0700)
Fix a build issue.
Link:
https://lkml.kernel.org/r/ZNerqcNS4EBJA/2v@casper.infradead.org
Fixes: 4aaa60dad4d1 ("mm: allow per-VMA locks on file-backed VMAs")
Signed-off-by: Matthew Wilcox <willy@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202308121909.XNYBtqNI-lkp@intel.com/
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/memory.c
patch
|
blob
|
history
diff --git
a/mm/memory.c
b/mm/memory.c
index 4a7c8be9fe71f21a5398f91c335e4e1ad4280743..f9c3ad489823104418ddaec28604a7372b59d4b4 100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-5457,7
+5457,7
@@
retry:
* concurrent mremap() with MREMAP_DONTUNMAP could dissociate the VMA
* from its anon_vma.
*/
- if (
unlikely(!vma->anon_vma && !vma_is_tcp(vma))
)
+ if (
vma_is_anonymous(vma) && !vma->anon_vma
)
goto inval_end_read;
/*