diff options
-rw-r--r-- | nfs/mount.c | 4 |
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); |