summaryrefslogtreecommitdiff
path: root/libnetfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-12-15 00:18:42 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-12-15 00:18:42 +0000
commite7cac91485fd4cdf7674a7411a052bfeb0355be2 (patch)
tree0e5c836d3a1c867bad0e44316c40ae355427d93c /libnetfs
parenta5cd1171ada44755aad350e435466739d4f2be95 (diff)
entered into RCS
Diffstat (limited to 'libnetfs')
-rw-r--r--libnetfs/make-node.c3
-rw-r--r--libnetfs/make-peropen.c5
2 files changed, 6 insertions, 2 deletions
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 <hurd/fshelp.h>
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 <sys/file.h>
+
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;
}