Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2023 11:55:59 GMT
From:      =?utf-8?Q?Jean-S=C3=A9bastien=20P=C3=A9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: dc795b79fb38 - stable/13 - linuxkpi: Define `is_cow_mapping(flags)` as false
Message-ID:  <202302161155.31GBtxur055435@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by dumbbell (ports committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=dc795b79fb38250bbe388e9d6b0db97da0fe6595

commit dc795b79fb38250bbe388e9d6b0db97da0fe6595
Author:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
AuthorDate: 2023-01-20 19:22:41 +0000
Commit:     Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
CommitDate: 2023-02-16 11:55:15 +0000

    linuxkpi: Define `is_cow_mapping(flags)` as false
    
    Reviewed by:    manu
    Approved by:    manu
    Differential Revision:  https://reviews.freebsd.org/D38158
    
    (cherry picked from commit 47877d61af072b6b28cc1bf45bc906bba3618b32)
---
 sys/compat/linuxkpi/common/include/linux/mm.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/compat/linuxkpi/common/include/linux/mm.h b/sys/compat/linuxkpi/common/include/linux/mm.h
index 8bee6188c9cd..8f5b543e1002 100644
--- a/sys/compat/linuxkpi/common/include/linux/mm.h
+++ b/sys/compat/linuxkpi/common/include/linux/mm.h
@@ -317,4 +317,6 @@ void lkpi_unmap_mapping_range(void *obj, loff_t const holebegin __unused,
 
 void vma_set_file(struct vm_area_struct *vma, struct linux_file *file);
 
+#define	is_cow_mapping(flags)	(false)
+
 #endif					/* _LINUXKPI_LINUX_MM_H_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302161155.31GBtxur055435>