public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51eb794
)
flat: note bug
author
Alan Cox
<alan@linux.intel.com>
Sun, 11 Mar 2018 14:12:07 +0000
(14:12 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 11 Mar 2018 14:12:07 +0000
(14:12 +0000)
Kernel/flat.c
patch
|
blob
|
history
diff --git
a/Kernel/flat.c
b/Kernel/flat.c
index
16dd360
..
bca6cee
100644
(file)
--- 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;