diff options
author | jeff <jeff@FreeBSD.org> | 2013-07-23 22:52:38 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2013-07-23 22:52:38 +0000 |
commit | f5ce18bd6ecd0e110153080585c429d279ae2be5 (patch) | |
tree | 997219042d091ca7f82a7604dd28754f0ab1c0e3 | |
parent | 50750f842b8d55e14418a44c689459edb947dc39 (diff) | |
download | FreeBSD-src-f5ce18bd6ecd0e110153080585c429d279ae2be5.zip FreeBSD-src-f5ce18bd6ecd0e110153080585c429d279ae2be5.tar.gz |
- Correct a stale comment. We don't have vclean() anymore. The work is
done by vgonel() and destroy_vobject() should only be called once from
VOP_INACTIVE().
Sponsored by: EMC / Isilon Storage Division
-rw-r--r-- | sys/vm/vnode_pager.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c index fa92768..4c7da16 100644 --- a/sys/vm/vnode_pager.c +++ b/sys/vm/vnode_pager.c @@ -158,11 +158,6 @@ vnode_destroy_vobject(struct vnode *vp) VM_OBJECT_WLOCK(obj); if (obj->ref_count == 0) { /* - * vclean() may be called twice. The first time - * removes the primary reference to the object, - * the second time goes one further and is a - * special-case to terminate the object. - * * don't double-terminate the object */ if ((obj->flags & OBJ_DEAD) == 0) |