afs: Clarify vcache->mvid accesses
[openafs.git] / src / afs / VNOPS / afs_vnop_dirops.c
index 8dea203..b664921 100644 (file)
@@ -150,7 +150,7 @@ afs_mkdir(OSI_VC_DECL(adp), char *aname, struct vattr *attrs,
        /* Disconnected. */
 
        /* We have the dir entry now, we can use it while disconnected. */
-       if (adp->mvid == NULL) {
+       if (adp->mvid.target_root == NULL) {
            /* If not mount point, generate a new fid. */
            newFid.Cell = adp->f.fid.Cell;
            newFid.Fid.Volume = adp->f.fid.Fid.Volume;