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