@@ -1783,6 +1783,7 @@ static int nfs_symlink(struct inode *dir, struct dentry *dentry, const char *sym
memcpy(kaddr, symname, pathlen);
if (pathlen < PAGE_SIZE)
memset(kaddr + pathlen, 0, PAGE_SIZE - pathlen);
+ flush_kernel_dcache_page(page);
kunmap_atomic(kaddr, KM_USER0);
error = NFS_PROTO(dir)->symlink(dir, dentry, page, pathlen, &attr);
@@ -205,6 +205,7 @@ static void nfs4_setup_readdir(u64 cookie, __be32 *verifier, struct dentry *dent
readdir->pgbase = (char *)p - (char *)start;
readdir->count -= readdir->pgbase;
+ flush_kernel_dcache_page(*readdir->pages);
kunmap_atomic(start, KM_USER0);
}