summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2000-09-04 18:18:17 +0000
committerdes <des@FreeBSD.org>2000-09-04 18:18:17 +0000
commit571c2eccf9d7bf09fe9f34905515ac8aadada235 (patch)
tree07fd7d2d01636c379439cc00a91715d940b93341 /sys
parent88d82a352ee78d7f6a3f7c62d169eef26af4357a (diff)
downloadFreeBSD-src-571c2eccf9d7bf09fe9f34905515ac8aadada235.zip
FreeBSD-src-571c2eccf9d7bf09fe9f34905515ac8aadada235.tar.gz
Remove a comment that has been not only obsolete but patently wrong for the
last 31 revisions (almost three years).
Diffstat (limited to 'sys')
-rw-r--r--sys/fs/procfs/procfs_vnops.c8
-rw-r--r--sys/miscfs/procfs/procfs_vnops.c8
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/fs/procfs/procfs_vnops.c b/sys/fs/procfs/procfs_vnops.c
index e952318..e771128 100644
--- a/sys/fs/procfs/procfs_vnops.c
+++ b/sys/fs/procfs/procfs_vnops.c
@@ -187,14 +187,6 @@ procfs_close(ap)
if ((ap->a_fflag & FWRITE) && (pfs->pfs_flags & O_EXCL))
pfs->pfs_flags &= ~(FWRITE|O_EXCL);
/*
- * This rather complicated-looking code is trying to
- * determine if this was the last close on this particular
- * vnode. While one would expect v_usecount to be 1 at
- * that point, it seems that (according to John Dyson)
- * the VM system will bump up the usecount. So: if the
- * usecount is 2, and VOBJBUF is set, then this is really
- * the last close. Otherwise, if the usecount is < 2
- * then it is definitely the last close.
* If this is the last close, then it checks to see if
* the target process has PF_LINGER set in p_pfsflags,
* if this is *not* the case, then the process' stop flags
diff --git a/sys/miscfs/procfs/procfs_vnops.c b/sys/miscfs/procfs/procfs_vnops.c
index e952318..e771128 100644
--- a/sys/miscfs/procfs/procfs_vnops.c
+++ b/sys/miscfs/procfs/procfs_vnops.c
@@ -187,14 +187,6 @@ procfs_close(ap)
if ((ap->a_fflag & FWRITE) && (pfs->pfs_flags & O_EXCL))
pfs->pfs_flags &= ~(FWRITE|O_EXCL);
/*
- * This rather complicated-looking code is trying to
- * determine if this was the last close on this particular
- * vnode. While one would expect v_usecount to be 1 at
- * that point, it seems that (according to John Dyson)
- * the VM system will bump up the usecount. So: if the
- * usecount is 2, and VOBJBUF is set, then this is really
- * the last close. Otherwise, if the usecount is < 2
- * then it is definitely the last close.
* If this is the last close, then it checks to see if
* the target process has PF_LINGER set in p_pfsflags,
* if this is *not* the case, then the process' stop flags
OpenPOWER on IntegriCloud