aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2003-05-02 03:00:21 +0000
committerAlan Cox <alc@FreeBSD.org>2003-05-02 03:00:21 +0000
commit4f7c7f6e2337efd4232155c374cc1f7b232e2e54 (patch)
treeaa93f3bf0f8aa88762249249e402e8197149e09b /sys
parentb69195b182bf93b455a20d8109b61da1f6e97e93 (diff)
downloadsrc-4f7c7f6e2337efd4232155c374cc1f7b232e2e54.tar.gz
src-4f7c7f6e2337efd4232155c374cc1f7b232e2e54.zip
Simplify the removal of a shadow object in vm_object_collapse().
Notes
Notes: svn path=/head/; revision=114487
Diffstat (limited to 'sys')
-rw-r--r--sys/vm/vm_object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 0f38274013fd..693118aa9e8a 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -1563,12 +1563,12 @@ vm_object_collapse(vm_object_t object)
* backing_object to within object.
*/
TAILQ_REMOVE(
- &object->backing_object->shadow_head,
+ &backing_object->shadow_head,
object,
shadow_list
);
- object->backing_object->shadow_count--;
- object->backing_object->generation++;
+ backing_object->shadow_count--;
+ backing_object->generation++;
if (backing_object->backing_object) {
TAILQ_REMOVE(
&backing_object->backing_object->shadow_head,