diff options
| author | David Greenman <dg@FreeBSD.org> | 1994-12-11 01:36:53 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1994-12-11 01:36:53 +0000 |
| commit | 7b18a71899debf9aa5f05256c19cf5c635d0ed09 (patch) | |
| tree | d753cc535e08c15ebcde241ab0df91ffc9c4829a /sys | |
| parent | 3339606d9a36144764e3caae12fe9575df6b6803 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/vm/vm_object.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 75c4079782c1..921a39e602b2 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.c,v 1.10 1994/11/06 05:07:50 davidg Exp $ + * $Id: vm_object.c,v 1.11 1994/11/25 07:58:27 davidg Exp $ */ /* @@ -985,7 +985,8 @@ vm_object_shadow(object, offset, length) * count. */ result->shadow = source; - TAILQ_INSERT_TAIL(&result->shadow->reverse_shadow_head, result, reverse_shadow_list); + if (source) + TAILQ_INSERT_TAIL(&result->shadow->reverse_shadow_head, result, reverse_shadow_list); /* * Store the offset into the source object, |
