* [PATCH] Minor touch to filemap.c
@ 2001-12-21 21:28 Momchil Velikov
0 siblings, 0 replies; only message in thread
From: Momchil Velikov @ 2001-12-21 21:28 UTC (permalink / raw)
To: linux-kernel; +Cc: marcelo
As Linus pointed out, we've just checked that page is NULL.
--- 1.5/mm/filemap.c Fri Dec 21 11:54:14 2001
+++ edited/mm/filemap.c Fri Dec 21 23:26:07 2001
@@ -941,7 +941,6 @@
spin_unlock(&pagecache_lock);
if (!page) {
struct page *newpage = alloc_page(gfp_mask);
- page = NULL;
if (newpage) {
spin_lock(&pagecache_lock);
page = __find_lock_page_helper(mapping, index, *hash);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-12-21 21:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-21 21:28 [PATCH] Minor touch to filemap.c Momchil Velikov
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.