From e7cac91485fd4cdf7674a7411a052bfeb0355be2 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Fri, 15 Dec 1995 00:18:42 +0000 Subject: entered into RCS --- libnetfs/make-node.c | 3 ++- libnetfs/make-peropen.c | 5 ++++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'libnetfs') diff --git a/libnetfs/make-node.c b/libnetfs/make-node.c index 905e8d31..b16e9ac4 100644 --- a/libnetfs/make-node.c +++ b/libnetfs/make-node.c @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ #include "netfs.h" +#include struct node * netfs_make_node (struct netnode *nn) @@ -32,7 +33,7 @@ netfs_make_node (struct netnode *nn) np->sockaddr = MACH_PORT_NULL; np->owner = 0; - fshelp_init_transbox (&np->transbox, &np->lock, np); + fshelp_transbox_init (&np->transbox, &np->lock, np); fshelp_lock_init (&np->userlock); return np; diff --git a/libnetfs/make-peropen.c b/libnetfs/make-peropen.c index 9f7e1195..961a77d1 100644 --- a/libnetfs/make-peropen.c +++ b/libnetfs/make-peropen.c @@ -18,6 +18,9 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#include "netfs.h" +#include + struct peropen * netfs_make_peropen (struct node *np, int flags, mach_port_t dotdotport) { @@ -32,7 +35,7 @@ netfs_make_peropen (struct node *np, int flags, mach_port_t dotdotport) if (dotdotport != MACH_PORT_NULL) mach_port_mod_refs (mach_task_self (), dotdotport, MACH_PORT_RIGHT_SEND, 1); - diskfs_nref (np); + netfs_nref (np); return po; } -- cgit v1.2.3