summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Roberson <jeff@FreeBSD.org>2006-01-30 08:24:14 +0000
committerJeff Roberson <jeff@FreeBSD.org>2006-01-30 08:24:14 +0000
commit3b77d80cdd39da86a4fdb6cbd3fcbe786b55e38b (patch)
tree61c595c4848da59f457c9babfc976a5ef6cf0dcd
parentd6791f76152af909d8ea81546e714266207eeea5 (diff)
Notes
-rw-r--r--sys/fs/devfs/devfs_vnops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index d567ea5fff3f..2abecfb5c3f1 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -233,12 +233,6 @@ devfs_close(struct vop_close_args *ap)
* if the reference count is 2 (this last descriptor
* plus the session), release the reference from the session.
*/
-
- /*
- * This needs to be rewritten to take the vp interlock into
- * consideration.
- */
-
oldvp = NULL;
sx_xlock(&proctree_lock);
if (td && vp == td->td_proc->p_session->s_ttyvp) {