Major namecache work primarily to support NULLFS.
[dragonfly.git] / sys / vfs / hpfs / hpfs_vfsops.c
index 5b33079..c08ac9f 100644 (file)
@@ -24,7 +24,7 @@
  * SUCH DAMAGE.
  *
  * $FreeBSD: src/sys/fs/hpfs/hpfs_vfsops.c,v 1.3.2.2 2001/12/25 01:44:45 dillon Exp $
- * $DragonFly: src/sys/vfs/hpfs/hpfs_vfsops.c,v 1.38 2006/09/10 01:26:40 dillon Exp $
+ * $DragonFly: src/sys/vfs/hpfs/hpfs_vfsops.c,v 1.39 2006/10/27 04:56:34 dillon Exp $
  */
 
 
@@ -169,7 +169,7 @@ hpfs_mount(struct mount *mp, char *path, caddr_t data, struct ucred *cred)
        if (error == 0)
                error = nlookup(&nd);
        if (error == 0)
-               error = cache_vref(nd.nl_ncp, nd.nl_cred, &devvp);
+               error = cache_vref(&nd.nl_nch, nd.nl_cred, &devvp);
        nlookup_done(&nd);
        if (error)
                goto error_1;