linux-sg2042/drivers/mtd/devices
Nick Piggin 6fe6900e1e mm: make read_cache_page synchronous
Ensure pages are uptodate after returning from read_cache_page, which allows
us to cut out most of the filesystem-internal PageUptodate calls.

I didn't have a great look down the call chains, but this appears to fixes 7
possible use-before uptodate in hfs, 2 in hfsplus, 1 in jfs, a few in
ecryptfs, 1 in jffs2, and a possible cleared data overwritten with readpage in
block2mtd.  All depending on whether the filler is async and/or can return
with a !uptodate page.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 12:12:51 -07:00
..
Kconfig kconfig: fix path to modules.txt in Kconfig help 2007-05-02 20:58:11 +02:00
Makefile [MTD] Driver for AT26Fxxx dataflash devices 2007-04-17 13:42:56 -04:00
at91_dataflash26.c [MTD] Driver for AT26Fxxx dataflash devices 2007-04-17 13:42:56 -04:00
block2mtd.c mm: make read_cache_page synchronous 2007-05-07 12:12:51 -07:00
doc2000.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
doc2001.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
doc2001plus.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
docecc.c PCI: Cleanup the includes of <linux/pci.h> 2007-05-02 19:02:35 -07:00
docprobe.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
lart.c [MTD] assume mtd->writesize is 1 for NOR flashes 2006-06-14 19:53:44 +04:00
m25p80.c [PATCH] m25p80 build fixes (with MTD debug) 2006-12-30 10:56:42 -08:00
ms02-nv.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ms02-nv.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mtd_dataflash.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2007-01-18 10:34:51 +11:00
mtdram.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
phram.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
pmc551.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
slram.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00