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, [EMAIL PROTECTED] - 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to