diff options
author | Maksym Planeta <mcsim.planeta@gmail.com> | 2012-04-07 19:10:39 +0300 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-04-08 22:17:09 +0200 |
commit | 50aa82b6f21867bcad925a2879f8bd5c8773330b (patch) | |
tree | 2f7e7fb43bf5ae7515c0716711be08af20718e53 /sutils/swapon.c | |
parent | 116fc73d851c49a40206e45e9af098669417f391 (diff) |
Add appropriate checks to take into account that pager's memory map could be sparse.
* mach-defpager/default_pager.c (pager_truncate, pager_read_offset,
pager_release_offset, pager_dealloc, pager_realloc): Add checks for map
field being NULL.
(pager_dealloc): Set map pointer to zero.
Diffstat (limited to 'sutils/swapon.c')
0 files changed, 0 insertions, 0 deletions