From fb11785a586b8f3fa56efb10a965d877858fb1ff Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 11 Mar 2018 14:12:07 +0000 Subject: [PATCH] flat: note bug --- Kernel/flat.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.34.1