patch-2.4.0-test6 linux/fs/nfs/read.c

Next file: linux/fs/nls/Makefile
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test5/linux/fs/nfs/read.c linux/fs/nfs/read.c
@@ -134,6 +134,7 @@
 	} while (count);
 
 	memset(buffer, 0, count);
+	flush_dcache_page(page);
 	SetPageUptodate(page);
 	if (PageError(page))
 		ClearPageError(page);
@@ -446,6 +447,7 @@
 			count -= PAGE_CACHE_SIZE;
 		} else
 			SetPageError(page);
+		flush_dcache_page(page);
 		kunmap(page);
 		UnlockPage(page);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)