Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/rump/librump/rumpvfs Undo previous, need to fix differen...



details:   https://anonhg.NetBSD.org/src/rev/038637d150de
branches:  trunk
changeset: 972065:038637d150de
user:      christos <christos%NetBSD.org@localhost>
date:      Fri May 15 00:04:02 2020 +0000

description:
Undo previous, need to fix differently (fifofs is needed by other fs's and
fifo brings in rumpnet)

diffstat:

 sys/rump/librump/rumpvfs/rumpfs.c |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r 72fddb83555d -r 038637d150de sys/rump/librump/rumpvfs/rumpfs.c
--- a/sys/rump/librump/rumpvfs/rumpfs.c Thu May 14 23:42:18 2020 +0000
+++ b/sys/rump/librump/rumpvfs/rumpfs.c Fri May 15 00:04:02 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rumpfs.c,v 1.159 2020/05/14 20:10:34 christos Exp $    */
+/*     $NetBSD: rumpfs.c,v 1.160 2020/05/15 00:04:02 christos Exp $    */
 
 /*
  * Copyright (c) 2009, 2010, 2011 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.159 2020/05/14 20:10:34 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rumpfs.c,v 1.160 2020/05/15 00:04:02 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/atomic.h>
@@ -88,6 +88,15 @@
 static int rump_vop_access(void *);
 static int rump_vop_fcntl(void *);
 
+int (**fifo_vnodeop_p)(void *);
+const struct vnodeopv_entry_desc fifo_vnodeop_entries[] = {
+       { &vop_default_desc, vn_default_error },
+       { &vop_putpages_desc, genfs_null_putpages },
+       { NULL, NULL }
+};
+const struct vnodeopv_desc fifo_vnodeop_opv_desc =
+       { &fifo_vnodeop_p, fifo_vnodeop_entries };
+
 int (**rump_vnodeop_p)(void *);
 const struct vnodeopv_entry_desc rump_vnodeop_entries[] = {
        { &vop_default_desc, vn_default_error },



Home | Main Index | Thread Index | Old Index