Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/chs-ubc2]: src/sys/ufs/lfs add placeholders for getpages/putpages.
details: https://anonhg.NetBSD.org/src/rev/60a464dc8ca1
branches: chs-ubc2
changeset: 471395:60a464dc8ca1
user: chs <chs%NetBSD.org@localhost>
date: Sun Jul 11 05:52:10 1999 +0000
description:
add placeholders for getpages/putpages.
diffstat:
sys/ufs/lfs/lfs_extern.h | 5 ++++-
sys/ufs/lfs/lfs_vnops.c | 5 ++++-
2 files changed, 8 insertions(+), 2 deletions(-)
diffs (45 lines):
diff -r 0d6c31e0f872 -r 60a464dc8ca1 sys/ufs/lfs/lfs_extern.h
--- a/sys/ufs/lfs/lfs_extern.h Sun Jul 11 05:51:40 1999 +0000
+++ b/sys/ufs/lfs/lfs_extern.h Sun Jul 11 05:52:10 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_extern.h,v 1.13.4.1 1999/06/21 01:31:09 thorpej Exp $ */
+/* $NetBSD: lfs_extern.h,v 1.13.4.2 1999/07/11 05:52:10 chs Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -208,6 +208,9 @@
int lfs_write __P((void *));
int lfs_whiteout __P((void *));
+#define lfs_getpages genfs_eopnotsupp
+#define lfs_putpages genfs_eopnotsupp
+
__END_DECLS
extern int lfs_mount_type;
extern int (**lfs_vnodeop_p) __P((void *));
diff -r 0d6c31e0f872 -r 60a464dc8ca1 sys/ufs/lfs/lfs_vnops.c
--- a/sys/ufs/lfs/lfs_vnops.c Sun Jul 11 05:51:40 1999 +0000
+++ b/sys/ufs/lfs/lfs_vnops.c Sun Jul 11 05:52:10 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lfs_vnops.c,v 1.25.2.1.2.3 1999/07/02 22:43:23 thorpej Exp $ */
+/* $NetBSD: lfs_vnops.c,v 1.25.2.1.2.4 1999/07/11 05:52:10 chs Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -87,6 +87,7 @@
#include <sys/signalvar.h>
#include <vm/vm.h>
+#include <uvm/uvm.h>
#include <miscfs/fifofs/fifo.h>
#include <miscfs/genfs/genfs.h>
@@ -248,6 +249,8 @@
{ &vop_truncate_desc, fifo_truncate }, /* truncate */
{ &vop_update_desc, lfs_update }, /* update */
{ &vop_bwrite_desc, lfs_bwrite }, /* bwrite */
+ { &vop_getpages_desc, lfs_getpages }, /* getpages */
+ { &vop_putpages_desc, lfs_putpages }, /* putpages */
{ (struct vnodeop_desc*)NULL, (int(*) __P((void *)))NULL }
};
struct vnodeopv_desc lfs_fifoop_opv_desc =
Home |
Main Index |
Thread Index |
Old Index