summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2008-12-23 20:43:42 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2008-12-23 20:43:42 +0000
commit4769218f4b25ece6809dc400637d2c3dcc04d313 (patch)
treeca89b3ea85eadee980f640a337c25350d8e52c4f
parente39eeac77b648f36574ffc7ff1e3e64d7a3ec805 (diff)
Notes
-rw-r--r--sys/kern/vfs_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index d3829c99ff35..6fad06e1f498 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -936,7 +936,7 @@ vn_fullpath1(struct thread *td, struct vnode *vp, struct vnode *rdir,
}
ncp = TAILQ_FIRST(&vp->v_cache_dst);
if (ncp != NULL) {
- MPASS(ncp->nc_dvp == vp->v_dd);
+ MPASS(vp->v_dd == NULL || ncp->nc_dvp == vp->v_dd);
buflen -= ncp->nc_nlen - 1;
for (i = ncp->nc_nlen - 1; i >= 0 && bp != buf; i--)
*--bp = ncp->nc_name[i];