From: Massimo Cirillo Date: Fri, 11 Jan 2008 10:24:11 +0000 (+0000) Subject: cache invalidation error for buffered write X-Git-Tag: v2.6.24-rc8~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=646fd12784d506180353005f40f90bcf08c84a3e;p=pandora-kernel.git cache invalidation error for buffered write The bug causes corruptions of data read from flash. The original code performs cache invalidation from "adr" to "adr + len" in do_write_buffer(). Since len and adr could be updated in the code before invalidation - it causes improper setting of cache invalidation regions. Signed-off-by: Massimo Cirillo Signed-off-by: Giuseppe D'Eliseo Acked-by: Nicolas Pitre Acked-by: Jörn Engel Signed-off-by: David Woohouse Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed