summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHao Ge <gehao@kylinos.cn>2024-04-07 09:26:53 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-05-06 03:53:26 +0300
commit38bc9c28c3780d8d0ca1ed1a1fbfe8c91e20f5f2 (patch)
treeaf04fbc9bdc5d5972b2bfa16de8c77e12ba9c078 /include
parentcf93be18fa1bb837fa1e3015a9919953fff6ef22 (diff)
downloadlinux-38bc9c28c3780d8d0ca1ed1a1fbfe8c91e20f5f2.tar.xz
mm/mmap: make vma_wants_writenotify return bool
vma_wants_writenotify() should return bool, so change it. Link: https://lkml.kernel.org/r/20240407062653.803142-1-gehao@kylinos.cn Signed-off-by: Hao Ge <gehao@kylinos.cn> Cc: Liam R. Howlett <Liam.Howlett@oracle.com> Cc: Lorenzo Stoakes <lstoakes@gmail.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mm.h b/include/linux/mm.h
index cc9410d772dd..0b933f9f4864 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2575,7 +2575,7 @@ extern unsigned long move_page_tables(struct vm_area_struct *vma,
MM_CP_UFFD_WP_RESOLVE)
bool vma_needs_dirty_tracking(struct vm_area_struct *vma);
-int vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
+bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
static inline bool vma_wants_manual_pte_write_upgrade(struct vm_area_struct *vma)
{
/*