summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);