[patchlet] One liner "fix" to mm/vmalloc.c

From: Francis Galiegue (fg@mandrakesoft.com)
Date: Fri Feb 16 2001 - 16:56:40 EST


Right above the "if (!pmd)" ret is also set to -ENOMEM...

--- mm/vmalloc.c.old Fri Feb 16 22:47:59 2001
+++ mm/vmalloc.c Fri Feb 16 22:48:16 2001
@@ -151,7 +151,6 @@
                if (!pmd)
                        break;

- ret = -ENOMEM;
                if (alloc_area_pmd(pmd, address, end - address, gfp_mask,
prot))
                        break;

-- 
Francis Galiegue, fg@mandrakesoft.com - Normand et fier de l'Ítre
"Programming is a race between programmers, who try and make more and more
idiot-proof software, and universe, which produces more and more remarkable
idiots. Until now, universe leads the race"  -- R. Cook

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:14 EST