patch-2.2.15 linux/fs/nfs/read.c
Next file: linux/fs/nfsd/nfsctl.c
Previous file: linux/fs/nfs/inode.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Fri Apr 21 12:46:44 2000
- Orig file:
v2.2.14/fs/nfs/read.c
- Orig date:
Sat Aug 14 02:26:51 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/fs/nfs/read.c linux/fs/nfs/read.c
@@ -29,6 +29,7 @@
#include <asm/segment.h>
#include <asm/system.h>
+#include <asm/pgtable.h>
#define NFSDBG_FACILITY NFSDBG_PAGECACHE
@@ -111,6 +112,7 @@
} while (count);
memset(buffer, 0, count);
+ flush_dcache_page(page_address(page));
set_bit(PG_uptodate, &page->flags);
result = 0;
@@ -146,6 +148,7 @@
memset((char *) address + result, 0, PAGE_SIZE - result);
}
nfs_refresh_inode(req->ra_inode, &req->ra_fattr);
+ flush_dcache_page(address);
set_bit(PG_uptodate, &page->flags);
succ++;
} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)