Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Don't include puffs_compat in a kernel unless the filesy...
details: https://anonhg.NetBSD.org/src/rev/0e84b1c51b98
branches: trunk
changeset: 448522:0e84b1c51b98
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Mon Feb 04 12:08:03 2019 +0000
description:
Don't include puffs_compat in a kernel unless the filesystem is
selected along with COMPAT_50. Also, don't include puffs_compat
in the main puffs filesystem module; it is part of the compat_50
module.
Should address PR kern/53943
diffstat:
sys/fs/puffs/files.puffs | 4 ++--
sys/modules/puffs/Makefile | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r a8e5df02574d -r 0e84b1c51b98 sys/fs/puffs/files.puffs
--- a/sys/fs/puffs/files.puffs Mon Feb 04 11:16:41 2019 +0000
+++ b/sys/fs/puffs/files.puffs Mon Feb 04 12:08:03 2019 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: files.puffs,v 1.7 2019/01/27 02:08:43 pgoyette Exp $
+# $NetBSD: files.puffs,v 1.8 2019/02/04 12:08:03 pgoyette Exp $
deffs PUFFS
define puffs: vfs
-file fs/puffs/puffs_compat.c compat_50
+file fs/puffs/puffs_compat.c puffs && compat_50
file fs/puffs/puffs_msgif.c puffs
file fs/puffs/puffs_node.c puffs
file fs/puffs/puffs_subr.c puffs
diff -r a8e5df02574d -r 0e84b1c51b98 sys/modules/puffs/Makefile
--- a/sys/modules/puffs/Makefile Mon Feb 04 11:16:41 2019 +0000
+++ b/sys/modules/puffs/Makefile Mon Feb 04 12:08:03 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2010/07/06 16:13:57 pooka Exp $
+# $NetBSD: Makefile,v 1.3 2019/02/04 12:08:03 pgoyette Exp $
.include "../Makefile.inc"
@@ -6,6 +6,5 @@
KMOD= puffs
SRCS= puffs_node.c puffs_msgif.c puffs_subr.c puffs_vfsops.c puffs_vnops.c
-SRCS+= puffs_compat.c
.include <bsd.kmodule.mk>
Home |
Main Index |
Thread Index |
Old Index