From: Aneesh Kumar K.V Date: Sun, 16 Nov 2008 16:05:39 +0000 (-0500) Subject: ext4: Mark the buffer_heads as dirty and uptodate after prepare_write X-Git-Tag: v2.6.27.8~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cd10cb101e006e5beb4f3da3826727ed5ef85f8;p=pandora-kernel.git ext4: Mark the buffer_heads as dirty and uptodate after prepare_write (cherry picked from commit ed9b3e3379731e9f9d2f73f3d7fd9e7d2ce3df4a) We need to make sure we mark the buffer_heads as dirty and uptodate so that block_write_full_page write them correctly. This fixes mmap corruptions that can occur in low memory situations. Signed-off-by: Aneesh Kumar K.V Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed