mm/mmap/vma_merge: convert mergeability checks to return bool
authorVlastimil Babka <vbabka@suse.cz>
Thu, 9 Mar 2023 11:12:56 +0000 (12:12 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 6 Apr 2023 02:42:50 +0000 (19:42 -0700)
commit2dbf401045038469e6afab1307a3cf9799c38425
treea9a917b37c41067771a61b77d647e901408dcb93
parent1e76454f936178fd4e8052ddc92ce18c8937f043
mm/mmap/vma_merge: convert mergeability checks to return bool

The comments already mention returning 'true' so make the code match them.

Link: https://lkml.kernel.org/r/20230309111258.24079-9-vbabka@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Cc: Lorenzo Stoakes <lstoakes@gmail.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/mmap.c