diff options
author | des <des@FreeBSD.org> | 2000-09-04 18:19:04 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2000-09-04 18:19:04 +0000 |
commit | 1c7254b5aa526bc1677b6a6b73d6fa314f15ac4f (patch) | |
tree | e2bda063cf9a23d4b799b1b62820dcacc7d0aa68 /sys | |
parent | 571c2eccf9d7bf09fe9f34905515ac8aadada235 (diff) | |
download | FreeBSD-src-1c7254b5aa526bc1677b6a6b73d6fa314f15ac4f.zip FreeBSD-src-1c7254b5aa526bc1677b6a6b73d6fa314f15ac4f.tar.gz |
Remove obsolete comment (see rev 1.84 of procfs_vnops.c)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/linprocfs/linprocfs_vnops.c | 8 | ||||
-rw-r--r-- | sys/i386/linux/linprocfs/linprocfs_vnops.c | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/compat/linprocfs/linprocfs_vnops.c b/sys/compat/linprocfs/linprocfs_vnops.c index 32862d3..a1f5db1 100644 --- a/sys/compat/linprocfs/linprocfs_vnops.c +++ b/sys/compat/linprocfs/linprocfs_vnops.c @@ -179,14 +179,6 @@ linprocfs_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/i386/linux/linprocfs/linprocfs_vnops.c b/sys/i386/linux/linprocfs/linprocfs_vnops.c index 32862d3..a1f5db1 100644 --- a/sys/i386/linux/linprocfs/linprocfs_vnops.c +++ b/sys/i386/linux/linprocfs/linprocfs_vnops.c @@ -179,14 +179,6 @@ linprocfs_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 |