Isn't this in 2.4.17 already? Marcelo, please check.
> +++ 2.4.17rc2aa1/mm/filemap.c Thu Dec 20 19:01:53 2001
> @@ -942,7 +942,7 @@
> spin_unlock(&pagecache_lock);
> if (!page) {
> struct page *newpage = alloc_page(gfp_mask);
> - page = ERR_PTR(-ENOMEM);
> + page = NULL;
Don't be silly, just remove the line (page _is_ NULL already, we just
checked).
Linus
-
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/