Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules Since UFS_DIRHASH is explicitly disabled in GENE...
details: https://anonhg.NetBSD.org/src/rev/24f13ac05e75
branches: trunk
changeset: 359442:24f13ac05e75
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Thu Jan 06 15:08:56 2022 +0000
description:
Since UFS_DIRHASH is explicitly disabled in GENERIC kernels (due to
being suspected of memory corruption), it should not be enabled in
the default module configurations either.
diffstat:
sys/modules/ffs/Makefile | 5 +++--
sys/modules/ufs/Makefile | 5 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
diffs (37 lines):
diff -r 9c60f92f8b36 -r 24f13ac05e75 sys/modules/ffs/Makefile
--- a/sys/modules/ffs/Makefile Thu Jan 06 12:09:42 2022 +0000
+++ b/sys/modules/ffs/Makefile Thu Jan 06 15:08:56 2022 +0000
@@ -1,12 +1,13 @@
-# $NetBSD: Makefile,v 1.18 2020/10/18 19:56:41 christos Exp $
+# $NetBSD: Makefile,v 1.19 2022/01/06 15:08:56 pgoyette Exp $
.include "../Makefile.inc"
.PATH: ${S}/ufs/ffs
KMOD= ffs
-CPPFLAGS+= -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
+CPPFLAGS+= -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
CPPFLAGS+= -DUFS_EXTATTR -DUFS_ACL
+#CPPFLAGS+= -DUFS_DIRHASH # disabled - suspected of corrupting memory
CWARNFLAGS.clang= -Wno-conversion
COPTS.ffs_appleufs.c+= ${NO_ADDR_OF_PACKED_MEMBER}
diff -r 9c60f92f8b36 -r 24f13ac05e75 sys/modules/ufs/Makefile
--- a/sys/modules/ufs/Makefile Thu Jan 06 12:09:42 2022 +0000
+++ b/sys/modules/ufs/Makefile Thu Jan 06 15:08:56 2022 +0000
@@ -1,11 +1,12 @@
-# $NetBSD: Makefile,v 1.4 2020/05/16 18:31:52 christos Exp $
+# $NetBSD: Makefile,v 1.5 2022/01/06 15:08:56 pgoyette Exp $
.include "../Makefile.inc"
KMOD= ufs
-CPPFLAGS+= -DUFS_DIRHASH -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
+CPPFLAGS+= -DFFS_EI -DWAPBL -DAPPLE_UFS -DQUOTA -DQUOTA2
CPPFLAGS+= -DUFS_EXTATTR -DUFS_ACL
+CPPFLAGS+= -DUFS_DIRHASH # disabled - suspected of corrupting memory
CWARNFLAGS.clang= -Wno-conversion
Home |
Main Index |
Thread Index |
Old Index