From: NIIBE Y. <gn...@m1...> - 2001-08-07 10:46:27
|
This is another approach. But this is not so good because we touch generic part in archtecture specific way. Index: fs/nfs/read.c =================================================================== RCS file: /cvsroot/linuxsh/kernel/fs/nfs/read.c,v retrieving revision 1.9 diff -u -r1.9 read.c --- fs/nfs/read.c 2001/04/09 05:32:46 1.9 +++ fs/nfs/read.c 2001/08/07 10:43:04 @@ -448,7 +448,7 @@ count -= PAGE_CACHE_SIZE; } else SetPageError(page); - flush_dcache_page(page); + __flush_wback_region(page_address(page), PAGE_SIZE); kunmap(page); UnlockPage(page); -- |