From 7b4e4fc828e0cd6427193cb39b1d6ef4ff3ca97d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 13 May 2002 22:33:14 +0000 Subject: 2002-05-13 Roland McGrath * leaf.c (create_host_node): Set NEW->nn_translated appropriately. * hostmux.c (main): Set netfs_root_node->nn_translated to zero. --- hostmux/hostmux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hostmux/hostmux.c') diff --git a/hostmux/hostmux.c b/hostmux/hostmux.c index b0a72693..3778613c 100644 --- a/hostmux/hostmux.c +++ b/hostmux/hostmux.c @@ -112,7 +112,7 @@ main (int argc, char **argv) /* Parse our command line arguments. */ argp_parse (&argp, argc, argv, ARGP_IN_ORDER, 0, 0); - + task_get_bootstrap_port (mach_task_self (), &bootstrap); netfs_init (); @@ -147,6 +147,7 @@ main (int argc, char **argv) netfs_root_node->nn_stat.st_ino = 2; netfs_root_node->nn_stat.st_mode = S_IFDIR | (ul_stat.st_mode & ~S_IFMT & ~S_ITRANS); + netfs_root_node->nn_translated = 0; /* If the underlying node isn't a directory, propagate read permission to execute permission since we need that for lookups. */ @@ -162,7 +163,7 @@ main (int argc, char **argv) fshelp_touch (&netfs_root_node->nn_stat, TOUCH_ATIME|TOUCH_MTIME|TOUCH_CTIME, hostmux_maptime); - + for (;;) /* ?? */ netfs_server_loop (); } -- cgit v1.2.3