summaryrefslogtreecommitdiff
path: root/sys/adosfs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-12-04 22:44:33 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-12-04 22:44:33 +0000
commitf1bec1965343db9a80a80e7ed55ee2fe5dd36253 (patch)
tree079f5363174a8394c440390c31604f27f1101bc3 /sys/adosfs
parent2ae3b1f139f1a10569ee4341888c32f5a70281cb (diff)
Readd VOP_MMAP, will be used soon. Right now it's just a question to
the filesystem if we're allowed to mmap the file.
Diffstat (limited to 'sys/adosfs')
-rw-r--r--sys/adosfs/advnops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/adosfs/advnops.c b/sys/adosfs/advnops.c
index 19bfdcc5738..5f3fac9977d 100644
--- a/sys/adosfs/advnops.c
+++ b/sys/adosfs/advnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: advnops.c,v 1.18 2001/11/27 05:27:11 art Exp $ */
+/* $OpenBSD: advnops.c,v 1.19 2001/12/04 22:44:31 art Exp $ */
/* $NetBSD: advnops.c,v 1.32 1996/10/13 02:52:09 christos Exp $ */
/*
@@ -133,6 +133,7 @@ struct vnodeopv_entry_desc adosfs_vnodeop_entries[] = {
{ &vop_bwrite_desc, adosfs_bwrite }, /* bwrite */
{ &vop_getpages_desc, genfs_getpages },
{ &vop_size_desc, genfs_size },
+ { &vop_mmap_desc, genfs_mmap },
{ NULL, NULL }
};