aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2004-06-28 20:26:35 +0000
committerTor Egge <tegge@FreeBSD.org>2004-06-28 20:26:35 +0000
commit9174ca7ba352135f98a6430dc3b09a4740948bce (patch)
tree85a2c6746bbaf7482eef4e73288842d7b6f22f11
parent794950069f8280f613f68fed58ee20b6bc9f9843 (diff)
Notes
-rw-r--r--sys/vm/vm_object.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index e7b297b5830cc..37017377ca1e8 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -1216,6 +1216,11 @@ vm_object_shadow(
* shadowed object.
*/
result->backing_object = source;
+ /*
+ * Store the offset into the source object, and fix up the offset into
+ * the new object.
+ */
+ result->backing_object_offset = *offset;
if (source != NULL) {
VM_OBJECT_LOCK(source);
LIST_INSERT_HEAD(&source->shadow_head, result, shadow_list);
@@ -1233,11 +1238,6 @@ vm_object_shadow(
PQ_L2_MASK;
}
- /*
- * Store the offset into the source object, and fix up the offset into
- * the new object.
- */
- result->backing_object_offset = *offset;
/*
* Return the new things