summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2006-01-30 08:24:14 +0000
committerjeff <jeff@FreeBSD.org>2006-01-30 08:24:14 +0000
commitaf5f24849498ebe529377266869ca013cdcd0393 (patch)
tree61c595c4848da59f457c9babfc976a5ef6cf0dcd /sys/fs/devfs
parent4a759adfc89a8ca5ec66b082f0a4aa94f395ab33 (diff)
downloadFreeBSD-src-af5f24849498ebe529377266869ca013cdcd0393.zip
FreeBSD-src-af5f24849498ebe529377266869ca013cdcd0393.tar.gz
- Remove a stale comment. This function was rewritten to be SMP safe some
time ago. Sponsored by: Isilon Systems, Inc.
Diffstat (limited to 'sys/fs/devfs')
-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 d567ea5..2abecfb 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) {
OpenPOWER on IntegriCloud