summaryrefslogtreecommitdiff
path: root/nfs/mount.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-03-12 20:59:41 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-03-12 20:59:41 +0000
commit43e4e49faf65790f8167998118e1391932d3a1a3 (patch)
tree36c5197a4310f9e85e5aebb0a1f38b8ad4ffba7d /nfs/mount.c
parentf63268b6ed22b592ab5bc6dd5a39046f625080bf (diff)
Formerly mount.c.~12~
Diffstat (limited to 'nfs/mount.c')
-rw-r--r--nfs/mount.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/nfs/mount.c b/nfs/mount.c
index 3eadfdc9..0635d5a9 100644
--- a/nfs/mount.c
+++ b/nfs/mount.c
@@ -147,7 +147,9 @@ mount_root (char *name, char *host)
}
/* Create the node for root */
- np = lookup_fhandle (p);
+ np = lookup_fhandle (p, 0);
+ np->nn->dir = np;
+ netfs_nref (np);
p += NFS_FHSIZE / sizeof (int);
free (rpcbuf);
mutex_unlock (&np->lock);