From: Alan Cox Date: Sun, 11 Mar 2018 14:12:07 +0000 (+0000) Subject: flat: note bug X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=fb11785a586b8f3fa56efb10a965d877858fb1ff;p=FUZIX.git flat: note bug --- diff --git a/Kernel/flat.c b/Kernel/flat.c index 16dd3602..bca6ceef 100644 --- a/Kernel/flat.c +++ b/Kernel/flat.c @@ -242,6 +242,7 @@ int pagemap_realloc(usize_t size) mb->start = kmalloc(size); mb->end = mb->start + size; + /* FIXME: on the fail case we should put back the old maps */ if (mb->start == NULL) return ENOMEM; return 0;