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

Francis Galiegue (fg@mandrakesoft.com)
Fri, 16 Feb 2001 22:56:40 +0100 (CET)


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/