summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2002-08-21 08:34:48 +0000
committerjeff <jeff@FreeBSD.org>2002-08-21 08:34:48 +0000
commit275611472a7bb4a878b0f78838649ad45de960ec (patch)
treeac07bfbe676320ce8910f0b2e286354c9201e577
parent5b8471413b8edabfe8a59fbc9f1190c5b6eeedd0 (diff)
downloadFreeBSD-src-275611472a7bb4a878b0f78838649ad45de960ec.zip
FreeBSD-src-275611472a7bb4a878b0f78838649ad45de960ec.tar.gz
- Document two cases, one in vget and the other in vn_lock, where the state
of interlock on exit is not consistent. There are probably several bugs relating to this.
-rw-r--r--sys/kern/vfs_subr.c1
-rw-r--r--sys/kern/vfs_vnops.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index a00d84a..2fe2d00 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1937,6 +1937,7 @@ vget(vp, flags, td)
} else {
vp->v_iflag |= VI_XWANT;
msleep(vp, VI_MTX(vp), PINOD | PDROP, "vget", 0);
+ mp_fixme("interlock not released.");
return (ENOENT);
}
}
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index fc6c78e..875e3f0 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -843,6 +843,7 @@ debug_vn_lock(vp, flags, td, filename, line)
vp->v_iflag |= VI_XWANT;
msleep(vp, VI_MTX(vp), PINOD | PDROP,
"vn_lock", 0);
+ mp_fixme("interlock not released.");
error = ENOENT;
} else {
#if 0
OpenPOWER on IntegriCloud